54 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) 58 vl_print (handle, (char *)s); \ 68 s =
format (0,
"SCRIPT: create_loopback ");
79 s =
format (0,
"SCRIPT: delete_loopback ");
89 s =
format (0,
"SCRIPT: sw_interface_set_flags ");
94 s =
format (s,
"admin-up ");
96 s =
format (s,
"admin-down ");
101 s =
format (s,
"link-down");
111 s =
format (0,
"SCRIPT: sw_interface_add_del_address ");
125 s =
format (s,
"del-all ");
135 s =
format (0,
"SCRIPT: sw_interface_set_table ");
153 s =
format (0,
"SCRIPT: sw_interface_set_vpath ");
158 s =
format (s,
"vPath enable ");
160 s =
format (s,
"vPath disable ");
170 s =
format (0,
"SCRIPT: sw_interface_set_l2_xconnect ");
179 s =
format (s,
"delete ");
189 s =
format (0,
"SCRIPT: sw_interface_set_l2_bridge ");
195 s =
format (s,
"bd_id %d shg %d %senable ", ntohl (mp->
bd_id),
196 mp->
shg, ((mp->
bvi) ?
"bvi " :
" "));
199 s =
format (s,
"disable ");
209 s =
format (0,
"SCRIPT: bridge_domain_add_del ");
215 s =
format (s,
"flood %d uu-flood %d forward %d learn %d arp-term %d",
231 s =
format (0,
"SCRIPT: bridge_domain_dump ");
234 s =
format (s,
"bd_id %d ", bd_id);
244 s =
format (0,
"SCRIPT: l2fib_add_del ");
255 s =
format (s,
"%s",
"static ");
257 s =
format (s,
"%s",
"filter ");
259 s =
format (s,
"%s",
"bvi ");
275 s =
format (0,
"SCRIPT: l2_flags ");
280 if (flags & L2INPUT_FEAT_ ## a) s = format (s, #a " "); 293 s =
format (0,
"SCRIPT: bridge_flags ");
300 s =
format (s,
"forward ");
304 s =
format (s,
"uu-flood ");
306 s =
format (s,
"arp-term ");
319 s =
format (0,
"SCRIPT: bd_ip_mac_add_del ");
342 memset (null_mac, 0,
sizeof (null_mac));
344 s =
format (0,
"SCRIPT: tap_connect ");
347 s =
format (s,
"random-mac ");
361 memset (null_mac, 0,
sizeof (null_mac));
363 s =
format (0,
"SCRIPT: tap_modify ");
367 s =
format (s,
"random-mac ");
380 s =
format (0,
"SCRIPT: tap_delete ");
391 s =
format (0,
"SCRIPT: sw_interface_tap_dump ");
402 s =
format (0,
"SCRIPT: ip_add_del_route ");
433 s =
format (s,
"create-vrf ");
442 s =
format (s,
"not-last ");
445 s =
format (s,
"multipath ");
448 s =
format (s,
"multipath ");
461 s =
format (0,
"SCRIPT: proxy_arp_add_del ");
480 s =
format (0,
"SCRIPT: proxy_arp_intfc_enable_disable ");
494 s =
format (0,
"SCRIPT: mpls_add_del_decap ");
505 s =
format (s,
"s-bit-clear ");
519 s =
format (0,
"SCRIPT: mpls_add_del_encap ");
525 for (i = 0; i < mp->
nlabels; i++)
539 s =
format (0,
"SCRIPT: mpls_gre_add_del_tunnel ");
556 s =
format (s,
"l2-only ");
566 s =
format (0,
"SCRIPT: mpls_ethernet_add_del_tunnel ");
578 s =
format (s,
"l2-only ");
591 s =
format (0,
"SCRIPT: mpls_ethernet_add_del_tunnel_2 ");
608 s =
format (s,
"l2-only ");
621 s =
format (0,
"SCRIPT: sw_interface_set_unnumbered ");
639 memset (null_mac, 0,
sizeof (null_mac));
641 s =
format (0,
"SCRIPT: ip_neighbor_add_del ");
646 s =
format (s,
"is_static ");
673 s =
format (0,
"SCRIPT: reset_vrf ");
689 s =
format (0,
"SCRIPT: create_vlan_subif ");
700 #define foreach_create_subif_bit \ 707 _(outer_vlan_id_any) \ 715 s =
format (0,
"SCRIPT: create_subif ");
727 #define _(a) if (mp->a) s = format (s, "%s ", #a); 740 s =
format (0,
"SCRIPT: oam_add_del ");
760 s =
format (0,
"SCRIPT: reset_fib ");
776 s =
format (0,
"SCRIPT: dhcp_proxy_config ");
807 s =
format (0,
"SCRIPT: dhcp_proxy_config_2 ");
839 s =
format (0,
"SCRIPT: dhcp_proxy_set_vss ");
845 s =
format (s,
"oui %d ", ntohl (mp->
oui));
861 s =
format (0,
"SCRIPT: dhcp_client_config ");
883 s =
format (0,
"SCRIPT: set_ip_flow_hash ");
903 s =
format (s,
"reverse ");
916 s =
format (0,
"SCRIPT: sw_interface_ip6_set_link_local_address ");
931 s =
format (0,
"SCRIPT: sw_interface_ip6nd_ra_prefix ");
952 s =
format (s,
"noauto ");
955 s =
format (s,
"nolink ");
968 s =
format (0,
"SCRIPT: sw_interface_ip6nd_ra_config ");
983 s =
format (s,
"suppress ");
986 s =
format (s,
"managed ");
1014 s =
format (0,
"SCRIPT: set_arp_neighbor_limit ");
1029 s =
format (0,
"SCRIPT: l2_patch_add_del ");
1047 u16 flags_host_byte_order;
1050 s =
format (0,
"SCRIPT: sr_tunnel_add_del ");
1066 for (i = 0; i < mp->
n_tags; i++)
1075 s =
format (s,
" clean ");
1078 s =
format (s,
"protected ");
1080 for (i = 1; i <= 4; i++)
1090 s =
format (s,
"InPE %d ", i);
1094 s =
format (s,
"EgPE %d ", i);
1098 s =
format (s,
"OrgSrc %d ", i);
1122 s =
format (0,
"SCRIPT: sr_policy_add_del ");
1133 deser_tun_names += 1;
1136 int tun_name_len = 0;
1138 for (i = 0; i < num_tunnels; i++)
1140 tun_name_len = *deser_tun_names;
1141 deser_tun_names += 1;
1143 memcpy (tun_name, deser_tun_names, tun_name_len);
1144 s =
format (s,
"tunnel %s ", tun_name);
1145 deser_tun_names += tun_name_len;
1163 s =
format (0,
"SCRIPT: sr_multicast_map_add_del ");
1185 s =
format (0,
"SCRIPT: classify_add_del_table ");
1200 s =
format (s,
"mask hex ");
1215 s =
format (0,
"SCRIPT: classify_add_del_session ");
1224 s =
format (s,
"match hex ");
1225 for (i = 5 *
sizeof (
u32x4) - 1; i > 0; i--)
1227 if (mp->
match[i] != 0)
1234 for (i = 0; i < limit; i++)
1245 s =
format (0,
"SCRIPT: classify_set_interface_ip_table ");
1261 s =
format (0,
"SCRIPT: classify_set_interface_l2_tables ");
1276 s =
format (0,
"SCRIPT: add_node_next ");
1288 s =
format (0,
"SCRIPT: l2tpv3_create_tunnel ");
1290 s =
format (s,
"client_address %U our_address %U ",
1295 s =
format (s,
"local_cookie %lld ",
1297 s =
format (s,
"remote_cookie %lld ",
1300 s =
format (s,
"l2-sublayer-present ");
1310 s =
format (0,
"SCRIPT: l2tpv3_set_tunnel_cookies ");
1314 s =
format (s,
"new_local_cookie %llu ",
1317 s =
format (s,
"new_remote_cookie %llu ",
1328 s =
format (0,
"SCRIPT: l2tpv3_interface_enable_disable ");
1342 char *str =
"unknown";
1344 s =
format (0,
"SCRIPT: l2tpv3_set_lookup_key ");
1349 str =
"lookup_v6_src";
1352 str =
"lookup_v6_dst";
1355 str =
"lookup_session_id";
1361 s =
format (s,
"%s ", str);
1371 s =
format (0,
"SCRIPT: sw_if_l2tpv3_tunnel_dump ");
1381 s =
format (0,
"SCRIPT: vxlan_add_del_tunnel ");
1403 s =
format (s,
"vni %d ", ntohl (mp->
vni));
1416 s =
format (0,
"SCRIPT: vxlan_tunnel_dump ");
1428 s =
format (0,
"SCRIPT: gre_add_del_tunnel ");
1452 s =
format (0,
"SCRIPT: gre_tunnel_dump ");
1464 s =
format (0,
"SCRIPT: l2_fib_clear_table ");
1474 s =
format (0,
"SCRIPT: l2_interface_efp_filter ");
1478 s =
format (s,
"enable ");
1480 s =
format (s,
"disable ");
1490 s =
format (0,
"SCRIPT: l2_interface_vlan_tag_rewrite ");
1495 s =
format (s,
"tag1 %d ", ntohl (mp->
tag1));
1496 s =
format (s,
"tag2 %d ", ntohl (mp->
tag2));
1506 s =
format (0,
"SCRIPT: create_vhost_user_if ");
1510 s =
format (s,
"server ");
1522 s =
format (0,
"SCRIPT: modify_vhost_user_if ");
1527 s =
format (s,
"server ");
1539 s =
format (0,
"SCRIPT: delete_vhost_user_if ");
1550 s =
format (0,
"SCRIPT: sw_interface_vhost_user_dump ");
1560 s =
format (0,
"SCRIPT: sw_interface_dump ");
1575 s =
format (0,
"SCRIPT: l2_fib_table_dump ");
1587 s =
format (0,
"SCRIPT: control_ping ");
1597 s =
format (0,
"SCRIPT: want_interface_events pid %d enable %d ",
1608 s =
format (0,
"SCRIPT: cli_request ");
1618 s =
format (0,
"SCRIPT: memclnt_create name %s ", mp->
name);
1628 s =
format (0,
"SCRIPT: show_version ");
1638 s =
format (0,
"SCRIPT: vxlan_gpe_add_del_tunnel ");
1646 s =
format (s,
"vni %d ", ntohl (mp->
vni));
1665 s =
format (0,
"SCRIPT: vxlan_gpe_tunnel_dump ");
1677 s =
format (0,
"SCRIPT: interface_renumber ");
1681 s =
format (s,
"new_show_dev_instance %d ",
1692 s =
format (0,
"SCRIPT: want_ip4_arp_events ");
1693 s =
format (s,
"pid %d address %U ", mp->
pid,
1706 s =
format (0,
"SCRIPT: input_acl_set_interface ");
1724 s =
format (0,
"SCRIPT: ip6_address_dump ");
1736 s =
format (0,
"SCRIPT: ip_dump ");
1747 s =
format (0,
"SCRIPT: cop_interface_enable_disable ");
1750 s =
format (s,
"enable ");
1752 s =
format (s,
"disable ");
1762 s =
format (0,
"SCRIPT: cop_whitelist_enable_disable ");
1770 s =
format (s,
"default ");
1780 s =
format (0,
"SCRIPT: af_packet_create ");
1783 s =
format (s,
"hw_addr random ");
1795 s =
format (0,
"SCRIPT: af_packet_delete ");
1804 u32 action = va_arg (*va,
u32);
1805 u32 dscp = va_arg (*va,
u32);
1811 s =
format (s,
"transmit");
1814 s =
format (s,
"mark-and-transmit ");
1817 #define _(v,f,str) case VNET_DSCP_##f: t = str; break; 1834 s =
format (0,
"SCRIPT: policer_add_del ");
1844 s =
format (s,
"rate_type kbps ");
1847 s =
format (s,
"rate_type pps ");
1856 s =
format (s,
"round_type closest ");
1859 s =
format (s,
"round_type up ");
1862 s =
format (s,
"round_type down ");
1871 s =
format (s,
"type 1r2c ");
1874 s =
format (s,
"type 1r3c ");
1877 s =
format (s,
"type 2r3c-2698 ");
1880 s =
format (s,
"type 2r3c-4115 ");
1883 s =
format (s,
"type 2r3c-mef5cf1 ");
1897 s =
format (s,
"color-aware ");
1909 s =
format (0,
"SCRIPT: policer_dump ");
1921 s =
format (0,
"SCRIPT: policer_classify_set_interface ");
1940 s =
format (0,
"SCRIPT: policer_classify_dump ");
1944 s =
format (s,
"type ip4 ");
1947 s =
format (s,
"type ip6 ");
1950 s =
format (s,
"type l2 ");
1964 s =
format (0,
"SCRIPT: sw_interface_clear_stats ");
1976 s =
format (0,
"SCRIPT: mpls_gre_tunnel_dump ");
1988 s =
format (0,
"SCRIPT: mpls_eth_tunnel_dump ");
2000 s =
format (0,
"SCRIPT: mpls_fib_encap_dump ");
2010 s =
format (0,
"SCRIPT: mpls_fib_decap_dump ");
2020 s =
format (0,
"SCRIPT: classify_table_ids ");
2030 s =
format (0,
"SCRIPT: classify_table_by_interface ");
2042 s =
format (0,
"SCRIPT: classify_table_info ");
2054 s =
format (0,
"SCRIPT: classify_session_dump ");
2066 s =
format (0,
"SCRIPT: ipfix_enable ");
2085 s =
format (0,
"SCRIPT: ipfix_dump ");
2095 s =
format (0,
"SCRIPT: get_next_index ");
2107 s =
format (0,
"SCRIPT: pg_create_interface ");
2118 s =
format (0,
"SCRIPT: pg_capture ");
2121 if (mp->
count != ~0)
2124 s =
format (s,
"disable");
2134 s =
format (0,
"SCRIPT: pg_enable_disable ");
2138 s =
format (s,
"disable");
2149 s =
format (0,
"SCRIPT: ip_source_and_port_range_check_add_del ");
2176 s =
format (0,
"SCRIPT: ip_source_and_port_range_check_interface_add_del ");
2203 s =
format (0,
"SCRIPT: lisp_enable_disable %s",
2204 mp->
is_en ?
"enable" :
"disable");
2214 s =
format (0,
"SCRIPT: lisp_gpe_add_del_iface ");
2228 s =
format (0,
"SCRIPT: lisp_pitr_set_locator_set ");
2242 u8 *eid = va_arg (*args,
u8 *);
2243 u32 eid_len = va_arg (*args,
u32);
2261 u8 *eid = va_arg (*args,
u8 *);
2262 u32 eid_len = va_arg (*args,
u32);
2263 u8 *seid = va_arg (*args,
u8 *);
2264 u32 seid_len = va_arg (*args,
u32);
2265 u32 is_src_dst = va_arg (*args,
u32);
2289 format_rloc (
u8 * s, va_list * args)
2291 rloc_t *rloc = va_arg (*args, rloc_t *);
2298 s =
format (s,
"p %d w %d", rloc->priority, rloc->weight);
2307 u32 i, rloc_num = 0;
2309 s =
format (0,
"SCRIPT: lisp_add_del_remote_mapping ");
2312 s =
format (s,
"del-all ");
2315 s =
format (s,
"vni %d ", clib_net_to_host_u32 (mp->
vni));
2321 rloc_num = clib_net_to_host_u32 (mp->
rloc_num);
2327 rloc_t *rloc = (rloc_t *) mp->
rlocs;
2328 for (i = 0; i < rloc_num; i++)
2329 s =
format (s,
"%U ", format_rloc, &rloc[i]);
2340 s =
format (0,
"SCRIPT: lisp_add_del_adjacency ");
2343 s =
format (s,
"vni %d ", clib_net_to_host_u32 (mp->
vni));
2344 s =
format (s,
"deid %U seid %U ",
2356 s =
format (0,
"SCRIPT: lisp_add_del_map_request_itr_rlocs ");
2371 s =
format (0,
"SCRIPT: lisp_eid_table_add_del_map ");
2376 s =
format (s,
"vni %d ", clib_net_to_host_u32 (mp->
vni));
2378 mp->
is_l2 ?
"bd_index" :
"vrf",
2379 clib_net_to_host_u32 (mp->
dp_table));
2388 s =
format (0,
"SCRIPT: lisp_add_del_local_eid ");
2393 s =
format (s,
"vni %d ", clib_net_to_host_u32 (mp->
vni));
2405 s =
format (0,
"SCRIPT: lisp_gpe_add_del_fwd_entry TODO");
2415 s =
format (0,
"SCRIPT: lisp_add_del_map_resolver ");
2433 s =
format (0,
"SCRIPT: lisp_gpe_enable_disable ");
2435 s =
format (s,
"%s ", mp->
is_en ?
"enable" :
"disable");
2451 format_locator (
u8 * s, va_list * args)
2453 ls_locator_t *l = va_arg (*args, ls_locator_t *);
2455 return format (s,
"sw_if_index %d p %d w %d",
2456 l->sw_if_index, l->priority, l->weight);
2466 s =
format (0,
"SCRIPT: lisp_add_del_locator_set ");
2474 locs = (ls_locator_t *) mp->
locators;
2476 for (
i = 0;
i < loc_num;
i++)
2477 s =
format (s,
"%U ", format_locator, &locs[
i]);
2487 s =
format (0,
"SCRIPT: lisp_add_del_locator ");
2504 s =
format (0,
"SCRIPT: lisp_locator_set_dump ");
2516 s =
format (0,
"SCRIPT: lisp_eid_table_dump ");
2520 s =
format (s,
"vni %d ", clib_net_to_host_u32 (mp->
vni));
2526 s =
format (s,
"local ");
2529 s =
format (s,
"remote ");
2542 s =
format (0,
"SCRIPT: ipsec_gre_add_del_tunnel ");
2565 s =
format (0,
"SCRIPT: ipsec_gre_tunnel_dump ");
2573 #define foreach_custom_print_no_arg_function \ 2574 _(lisp_eid_table_map_dump) \ 2575 _(lisp_map_resolver_dump) \ 2576 _(lisp_gpe_tunnel_dump) 2579 static void * vl_api_ ## f ## _t_print \ 2580 (vl_api_ ## f ## _t * mp, void * handle) \ 2583 s = format (0, "SCRIPT: " #f ); \ 2588 #define foreach_custom_print_function \ 2589 _(CREATE_LOOPBACK, create_loopback) \ 2590 _(SW_INTERFACE_SET_FLAGS, sw_interface_set_flags) \ 2591 _(SW_INTERFACE_ADD_DEL_ADDRESS, sw_interface_add_del_address) \ 2592 _(SW_INTERFACE_SET_TABLE, sw_interface_set_table) \ 2593 _(SW_INTERFACE_SET_VPATH, sw_interface_set_vpath) \ 2594 _(TAP_CONNECT, tap_connect) \ 2595 _(TAP_MODIFY, tap_modify) \ 2596 _(TAP_DELETE, tap_delete) \ 2597 _(SW_INTERFACE_TAP_DUMP, sw_interface_tap_dump) \ 2598 _(IP_ADD_DEL_ROUTE, ip_add_del_route) \ 2599 _(PROXY_ARP_ADD_DEL, proxy_arp_add_del) \ 2600 _(PROXY_ARP_INTFC_ENABLE_DISABLE, proxy_arp_intfc_enable_disable) \ 2601 _(MPLS_ADD_DEL_DECAP, mpls_add_del_decap) \ 2602 _(MPLS_ADD_DEL_ENCAP, mpls_add_del_encap) \ 2603 _(MPLS_GRE_ADD_DEL_TUNNEL, mpls_gre_add_del_tunnel) \ 2604 _(MPLS_ETHERNET_ADD_DEL_TUNNEL, mpls_ethernet_add_del_tunnel) \ 2605 _(MPLS_ETHERNET_ADD_DEL_TUNNEL_2, mpls_ethernet_add_del_tunnel_2) \ 2606 _(SW_INTERFACE_SET_UNNUMBERED, sw_interface_set_unnumbered) \ 2607 _(IP_NEIGHBOR_ADD_DEL, ip_neighbor_add_del) \ 2608 _(RESET_VRF, reset_vrf) \ 2609 _(CREATE_VLAN_SUBIF, create_vlan_subif) \ 2610 _(CREATE_SUBIF, create_subif) \ 2611 _(OAM_ADD_DEL, oam_add_del) \ 2612 _(RESET_FIB, reset_fib) \ 2613 _(DHCP_PROXY_CONFIG, dhcp_proxy_config) \ 2614 _(DHCP_PROXY_SET_VSS, dhcp_proxy_set_vss) \ 2615 _(SET_IP_FLOW_HASH, set_ip_flow_hash) \ 2616 _(SW_INTERFACE_IP6_SET_LINK_LOCAL_ADDRESS, \ 2617 sw_interface_ip6_set_link_local_address) \ 2618 _(SW_INTERFACE_IP6ND_RA_PREFIX, sw_interface_ip6nd_ra_prefix) \ 2619 _(SW_INTERFACE_IP6ND_RA_CONFIG, sw_interface_ip6nd_ra_config) \ 2620 _(SET_ARP_NEIGHBOR_LIMIT, set_arp_neighbor_limit) \ 2621 _(L2_PATCH_ADD_DEL, l2_patch_add_del) \ 2622 _(SR_TUNNEL_ADD_DEL, sr_tunnel_add_del) \ 2623 _(SR_POLICY_ADD_DEL, sr_policy_add_del) \ 2624 _(SR_MULTICAST_MAP_ADD_DEL, sr_multicast_map_add_del) \ 2625 _(SW_INTERFACE_SET_L2_XCONNECT, sw_interface_set_l2_xconnect) \ 2626 _(L2FIB_ADD_DEL, l2fib_add_del) \ 2627 _(L2_FLAGS, l2_flags) \ 2628 _(BRIDGE_FLAGS, bridge_flags) \ 2629 _(CLASSIFY_ADD_DEL_TABLE, classify_add_del_table) \ 2630 _(CLASSIFY_ADD_DEL_SESSION, classify_add_del_session) \ 2631 _(SW_INTERFACE_SET_L2_BRIDGE, sw_interface_set_l2_bridge) \ 2632 _(BRIDGE_DOMAIN_ADD_DEL, bridge_domain_add_del) \ 2633 _(BRIDGE_DOMAIN_DUMP, bridge_domain_dump) \ 2634 _(CLASSIFY_SET_INTERFACE_IP_TABLE, classify_set_interface_ip_table) \ 2635 _(CLASSIFY_SET_INTERFACE_L2_TABLES, classify_set_interface_l2_tables) \ 2636 _(ADD_NODE_NEXT, add_node_next) \ 2637 _(DHCP_PROXY_CONFIG_2, dhcp_proxy_config_2) \ 2638 _(DHCP_CLIENT_CONFIG, dhcp_client_config) \ 2639 _(L2TPV3_CREATE_TUNNEL, l2tpv3_create_tunnel) \ 2640 _(L2TPV3_SET_TUNNEL_COOKIES, l2tpv3_set_tunnel_cookies) \ 2641 _(L2TPV3_INTERFACE_ENABLE_DISABLE, l2tpv3_interface_enable_disable) \ 2642 _(L2TPV3_SET_LOOKUP_KEY, l2tpv3_set_lookup_key) \ 2643 _(SW_IF_L2TPV3_TUNNEL_DUMP, sw_if_l2tpv3_tunnel_dump) \ 2644 _(VXLAN_ADD_DEL_TUNNEL, vxlan_add_del_tunnel) \ 2645 _(VXLAN_TUNNEL_DUMP, vxlan_tunnel_dump) \ 2646 _(GRE_ADD_DEL_TUNNEL, gre_add_del_tunnel) \ 2647 _(GRE_TUNNEL_DUMP, gre_tunnel_dump) \ 2648 _(L2_FIB_CLEAR_TABLE, l2_fib_clear_table) \ 2649 _(L2_INTERFACE_EFP_FILTER, l2_interface_efp_filter) \ 2650 _(L2_INTERFACE_VLAN_TAG_REWRITE, l2_interface_vlan_tag_rewrite) \ 2651 _(CREATE_VHOST_USER_IF, create_vhost_user_if) \ 2652 _(MODIFY_VHOST_USER_IF, modify_vhost_user_if) \ 2653 _(DELETE_VHOST_USER_IF, delete_vhost_user_if) \ 2654 _(SW_INTERFACE_DUMP, sw_interface_dump) \ 2655 _(CONTROL_PING, control_ping) \ 2656 _(WANT_INTERFACE_EVENTS, want_interface_events) \ 2657 _(CLI_REQUEST, cli_request) \ 2658 _(MEMCLNT_CREATE, memclnt_create) \ 2659 _(SW_INTERFACE_VHOST_USER_DUMP, sw_interface_vhost_user_dump) \ 2660 _(SHOW_VERSION, show_version) \ 2661 _(L2_FIB_TABLE_DUMP, l2_fib_table_dump) \ 2662 _(VXLAN_GPE_ADD_DEL_TUNNEL, vxlan_gpe_add_del_tunnel) \ 2663 _(VXLAN_GPE_TUNNEL_DUMP, vxlan_gpe_tunnel_dump) \ 2664 _(INTERFACE_NAME_RENUMBER, interface_name_renumber) \ 2665 _(WANT_IP4_ARP_EVENTS, want_ip4_arp_events) \ 2666 _(INPUT_ACL_SET_INTERFACE, input_acl_set_interface) \ 2667 _(IP_ADDRESS_DUMP, ip_address_dump) \ 2668 _(IP_DUMP, ip_dump) \ 2669 _(DELETE_LOOPBACK, delete_loopback) \ 2670 _(BD_IP_MAC_ADD_DEL, bd_ip_mac_add_del) \ 2671 _(COP_INTERFACE_ENABLE_DISABLE, cop_interface_enable_disable) \ 2672 _(COP_WHITELIST_ENABLE_DISABLE, cop_whitelist_enable_disable) \ 2673 _(AF_PACKET_CREATE, af_packet_create) \ 2674 _(AF_PACKET_DELETE, af_packet_delete) \ 2675 _(SW_INTERFACE_CLEAR_STATS, sw_interface_clear_stats) \ 2676 _(MPLS_GRE_TUNNEL_DUMP, mpls_gre_tunnel_dump) \ 2677 _(MPLS_ETH_TUNNEL_DUMP, mpls_eth_tunnel_dump) \ 2678 _(MPLS_FIB_ENCAP_DUMP, mpls_fib_encap_dump) \ 2679 _(MPLS_FIB_DECAP_DUMP, mpls_fib_decap_dump) \ 2680 _(CLASSIFY_TABLE_IDS,classify_table_ids) \ 2681 _(CLASSIFY_TABLE_BY_INTERFACE, classify_table_by_interface) \ 2682 _(CLASSIFY_TABLE_INFO,classify_table_info) \ 2683 _(CLASSIFY_SESSION_DUMP,classify_session_dump) \ 2684 _(IPFIX_ENABLE,ipfix_enable) \ 2685 _(IPFIX_DUMP,ipfix_dump) \ 2686 _(GET_NEXT_INDEX, get_next_index) \ 2687 _(PG_CREATE_INTERFACE,pg_create_interface) \ 2688 _(PG_CAPTURE, pg_capture) \ 2689 _(PG_ENABLE_DISABLE, pg_enable_disable) \ 2690 _(POLICER_ADD_DEL, policer_add_del) \ 2691 _(POLICER_DUMP, policer_dump) \ 2692 _(POLICER_CLASSIFY_SET_INTERFACE, policer_classify_set_interface) \ 2693 _(POLICER_CLASSIFY_DUMP, policer_classify_dump) \ 2694 _(IP_SOURCE_AND_PORT_RANGE_CHECK_ADD_DEL, \ 2695 ip_source_and_port_range_check_add_del) \ 2696 _(IP_SOURCE_AND_PORT_RANGE_CHECK_INTERFACE_ADD_DEL, \ 2697 ip_source_and_port_range_check_interface_add_del) \ 2698 _(LISP_ENABLE_DISABLE, lisp_enable_disable) \ 2699 _(LISP_GPE_ENABLE_DISABLE, lisp_gpe_enable_disable) \ 2700 _(LISP_GPE_ADD_DEL_IFACE, lisp_gpe_add_del_iface) \ 2701 _(LISP_PITR_SET_LOCATOR_SET, lisp_pitr_set_locator_set) \ 2702 _(LISP_ADD_DEL_REMOTE_MAPPING, lisp_add_del_remote_mapping) \ 2703 _(LISP_ADD_DEL_ADJACENCY, lisp_add_del_adjacency) \ 2704 _(LISP_ADD_DEL_MAP_REQUEST_ITR_RLOCS, \ 2705 lisp_add_del_map_request_itr_rlocs) \ 2706 _(LISP_EID_TABLE_ADD_DEL_MAP, lisp_eid_table_add_del_map) \ 2707 _(LISP_ADD_DEL_LOCAL_EID, lisp_add_del_local_eid) \ 2708 _(LISP_GPE_ADD_DEL_FWD_ENTRY, lisp_gpe_add_del_fwd_entry) \ 2709 _(LISP_ADD_DEL_LOCATOR_SET, lisp_add_del_locator_set) \ 2710 _(LISP_ADD_DEL_MAP_RESOLVER, lisp_add_del_map_resolver) \ 2711 _(LISP_ADD_DEL_LOCATOR, lisp_add_del_locator) \ 2712 _(LISP_EID_TABLE_DUMP, lisp_eid_table_dump) \ 2713 _(LISP_EID_TABLE_MAP_DUMP, lisp_eid_table_map_dump) \ 2714 _(LISP_GPE_TUNNEL_DUMP, lisp_gpe_tunnel_dump) \ 2715 _(LISP_MAP_RESOLVER_DUMP, lisp_map_resolver_dump) \ 2716 _(LISP_LOCATOR_SET_DUMP, lisp_locator_set_dump) \ 2717 _(LISP_LOCATOR_SET_DUMP, lisp_locator_set_dump) \ 2718 _(IPSEC_GRE_ADD_DEL_TUNNEL, ipsec_gre_add_del_tunnel) \ 2719 _(IPSEC_GRE_TUNNEL_DUMP, ipsec_gre_tunnel_dump) 2723 #define _(n,f) am->msg_print_handlers[VL_API_##n] \ 2724 = (void *) vl_api_##f##_t_print;
static void * vl_api_sw_interface_set_flags_t_print(vl_api_sw_interface_set_flags_t *mp, void *handle)
static void * vl_api_create_vhost_user_if_t_print(vl_api_create_vhost_user_if_t *mp, void *handle)
IPv6 set link local address on interface request.
static u8 * format_lisp_flat_eid(u8 *s, va_list *args)
static void * vl_api_bridge_domain_add_del_t_print(vl_api_bridge_domain_add_del_t *mp, void *handle)
static void * vl_api_classify_set_interface_l2_tables_t_print(vl_api_classify_set_interface_l2_tables_t *mp, void *handle)
static void * vl_api_lisp_add_del_adjacency_t_print(vl_api_lisp_add_del_adjacency_t *mp, void *handle)
static void * vl_api_lisp_gpe_add_del_fwd_entry_t_print(vl_api_lisp_gpe_add_del_fwd_entry_t *mp, void *handle)
DHCP Proxy set / unset vss request.
Proxy ARP add / del request.
Classify get table IDs request.
Dump mpls gre tunnel table.
Reset VRF (remove all routes etc) request.
Add / del ipsec gre tunnel request.
static void * vl_api_lisp_pitr_set_locator_set_t_print(vl_api_lisp_pitr_set_locator_set_t *mp, void *handle)
L2 FIB add entry request.
cop: enable/disable whitelist filtration features on an interface Note: the supplied fib_id must matc...
static void * vl_api_sr_tunnel_add_del_t_print(vl_api_sr_tunnel_add_del_t *mp, void *handle)
static void * vl_api_l2tpv3_set_tunnel_cookies_t_print(vl_api_l2tpv3_set_tunnel_cookies_t *mp, void *handle)
static void * vl_api_sw_if_l2tpv3_tunnel_dump_t_print(vl_api_sw_if_l2tpv3_tunnel_dump_t *mp, void *handle)
sll srl srl sll sra u16x4 i
static void * vl_api_ipfix_enable_t_print(vl_api_ipfix_enable_t *mp, void *handle)
static void * vl_api_l2_patch_add_del_t_print(vl_api_l2_patch_add_del_t *mp, void *handle)
static void * vl_api_lisp_locator_set_dump_t_print(vl_api_lisp_locator_set_dump_t *mp, void *handle)
static void * vl_api_delete_loopback_t_print(vl_api_delete_loopback_t *mp, void *handle)
static void * vl_api_reset_vrf_t_print(vl_api_reset_vrf_t *mp, void *handle)
static void * vl_api_ipfix_dump_t_print(vl_api_ipfix_dump_t *mp, void *handle)
#define IP6_SR_HEADER_FLAG_PL_ELT_EGRESS_PE
Flag bits.
#define foreach_create_subif_bit
static void * vl_api_sw_interface_ip6_set_link_local_address_t_print(vl_api_sw_interface_ip6_set_link_local_address_t *mp, void *handle)
static void * vl_api_reset_fib_t_print(vl_api_reset_fib_t *mp, void *handle)
add or delete lisp gpe tunnel
static void * vl_api_lisp_add_del_locator_t_print(vl_api_lisp_add_del_locator_t *mp, void *handle)
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
#define IP6_SR_HEADER_FLAG_PROTECTED
Flag bits.
Set/unset policer classify interface.
configure or disable LISP PITR node
Set flags on the interface.
Control ping from client to api server request.
static void * vl_api_interface_name_renumber_t_print(vl_api_interface_name_renumber_t *mp, void *handle)
static void * vl_api_sr_multicast_map_add_del_t_print(vl_api_sr_multicast_map_add_del_t *mp, void *handle)
static void * vl_api_add_node_next_t_print(vl_api_add_node_next_t *mp, void *handle)
static void * vl_api_l2_fib_clear_table_t_print(vl_api_l2_fib_clear_table_t *mp, void *handle)
Set max allowed ARP or ip6 neighbor entries request.
static void * vl_api_lisp_eid_table_add_del_map_t_print(vl_api_lisp_eid_table_add_del_map_t *mp, void *handle)
static void * vl_api_tap_modify_t_print(vl_api_tap_modify_t *mp, void *handle)
static void * vl_api_input_acl_set_interface_t_print(vl_api_input_acl_set_interface_t *mp, void *handle)
static void * vl_api_control_ping_t_print(vl_api_control_ping_t *mp, void *handle)
static void * vl_api_ip_add_del_route_t_print(vl_api_ip_add_del_route_t *mp, void *handle)
Add / del gre tunnel request.
static void * vl_api_lisp_add_del_locator_set_t_print(vl_api_lisp_add_del_locator_set_t *mp, void *handle)
Classify add / del session request.
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
static void * vl_api_bridge_domain_dump_t_print(vl_api_bridge_domain_dump_t *mp, void *handle)
static void * vl_api_l2_interface_vlan_tag_rewrite_t_print(vl_api_l2_interface_vlan_tag_rewrite_t *mp, void *handle)
Dump tap interfaces request.
static void * vl_api_want_interface_events_t_print(vl_api_want_interface_events_t *mp, void *handle)
static void * vl_api_sw_interface_clear_stats_t_print(vl_api_sw_interface_clear_stats_t *mp, void *handle)
static void * vl_api_gre_add_del_tunnel_t_print(vl_api_gre_add_del_tunnel_t *mp, void *handle)
Add/Delete classification table request.
IPv6 router advertisement config request.
L2 bridge domain request operational state details.
static void * vl_api_tap_delete_t_print(vl_api_tap_delete_t *mp, void *handle)
Enable / disable packet generator request.
static void * vl_api_ipsec_gre_tunnel_dump_t_print(vl_api_ipsec_gre_tunnel_dump_t *mp, void *handle)
static void * vl_api_classify_add_del_table_t_print(vl_api_classify_add_del_table_t *mp, void *handle)
static void * vl_api_dhcp_proxy_set_vss_t_print(vl_api_dhcp_proxy_set_vss_t *mp, void *handle)
vhost-user interface create request
static void * vl_api_mpls_ethernet_add_del_tunnel_t_print(vl_api_mpls_ethernet_add_del_tunnel_t *mp, void *handle)
static void * vl_api_vxlan_gpe_add_del_tunnel_t_print(vl_api_vxlan_gpe_add_del_tunnel_t *mp, void *handle)
static void * vl_api_bridge_flags_t_print(vl_api_bridge_flags_t *mp, void *handle)
static void * vl_api_l2tpv3_interface_enable_disable_t_print(vl_api_l2tpv3_interface_enable_disable_t *mp, void *handle)
static void * vl_api_proxy_arp_intfc_enable_disable_t_print(vl_api_proxy_arp_intfc_enable_disable_t *mp, void *handle)
static void * vl_api_sw_interface_set_l2_xconnect_t_print(vl_api_sw_interface_set_l2_xconnect_t *mp, void *handle)
static void * vl_api_proxy_arp_add_del_t_print(vl_api_proxy_arp_add_del_t *mp, void *handle)
static void * vl_api_ip_dump_t_print(vl_api_ip_dump_t *mp, void *handle)
static void * vl_api_l2fib_add_del_t_print(vl_api_l2fib_add_del_t *mp, void *handle)
static void * vl_api_l2_flags_t_print(vl_api_l2_flags_t *mp, void *handle)
static void * vl_api_create_vlan_subif_t_print(vl_api_create_vlan_subif_t *mp, void *handle)
static void * vl_api_lisp_enable_disable_t_print(vl_api_lisp_enable_disable_t *mp, void *handle)
static void * vl_api_oam_add_del_t_print(vl_api_oam_add_del_t *mp, void *handle)
Dump ipsec gre tunnel table.
add or delete LISP adjacency adjacency
u8 pcap_file_name[pcap_name_length]
PacketGenerator capture packets on given interface request.
static void * vl_api_vxlan_gpe_tunnel_dump_t_print(vl_api_vxlan_gpe_tunnel_dump_t *mp, void *handle)
u8 * format_ethernet_address(u8 *s, va_list *args)
Proxy ARP add / del request.
Clear interface statistics.
static void * vl_api_memclnt_create_t_print(vl_api_memclnt_create_t *mp, void *handle)
static void * vl_api_l2tpv3_set_lookup_key_t_print(vl_api_l2tpv3_set_lookup_key_t *mp, void *handle)
static void * vl_api_dhcp_proxy_config_t_print(vl_api_dhcp_proxy_config_t *mp, void *handle)
DHCP Proxy config 2 add / del request.
Classify sessions dump request.
static u8 * format_policer_action(u8 *s, va_list *va)
Set interface source and L4 port-range request.
static void * vl_api_get_next_index_t_print(vl_api_get_next_index_t *mp, void *handle)
static void * vl_api_ip_address_dump_t_print(vl_api_ip_address_dump_t *mp, void *handle)
static void * vl_api_policer_dump_t_print(vl_api_policer_dump_t *mp, void *handle)
add or delete map request itr rlocs
#define clib_warning(format, args...)
Dump mpls fib decap table.
#define vec_resize(V, N)
Resize a vector (no header, unspecified alignment) Add N elements to end of given vector V...
static void * vl_api_lisp_eid_table_dump_t_print(vl_api_lisp_eid_table_dump_t *mp, void *handle)
static void * vl_api_sw_interface_set_table_t_print(vl_api_sw_interface_set_table_t *mp, void *handle)
Initialize a new tap interface with the given paramters.
static void * vl_api_sw_interface_set_unnumbered_t_print(vl_api_sw_interface_set_unnumbered_t *mp, void *handle)
#define IP6_SR_HEADER_FLAG_CLEANUP
Flag bits.
static void * vl_api_ip_source_and_port_range_check_add_del_t_print(vl_api_ip_source_and_port_range_check_add_del_t *mp, void *handle)
Dump l2 fib (aka bridge domain) table.
Configure IP source and L4 port-range check.
Set L2 flags request !!! TODO - need more info, feature bits in l2_input.h.
u8 next_hop_ip4_address_in_outer_vrf[4]
static u8 * format_lisp_eid_vat(u8 *s, va_list *args)
L2 fib clear table request, clear all mac entries in the l2 fib.
static void * vl_api_pg_create_interface_t_print(vl_api_pg_create_interface_t *mp, void *handle)
static void * vl_api_sw_interface_set_vpath_t_print(vl_api_sw_interface_set_vpath_t *mp, void *handle)
The Segment Routing Header (SRH).
u32 new_show_dev_instance
IPv6 segment routing tunnel add / del request.
IPv6 segment routing multicast map to policy add / del request.
Set/unset l2 classification tables for an interface request.
static void * vl_api_mpls_gre_tunnel_dump_t_print(vl_api_mpls_gre_tunnel_dump_t *mp, void *handle)
Set bridge domain ip to mac entry request.
u8 stream_name[stream_name_length]
add or delete lisp eid-table
static void * vl_api_gre_tunnel_dump_t_print(vl_api_gre_tunnel_dump_t *mp, void *handle)
static void * vl_api_classify_add_del_session_t_print(vl_api_classify_add_del_session_t *mp, void *handle)
static void * vl_api_ip_neighbor_add_del_t_print(vl_api_ip_neighbor_add_del_t *mp, void *handle)
static void * vl_api_cop_whitelist_enable_disable_t_print(vl_api_cop_whitelist_enable_disable_t *mp, void *handle)
MPLS Ethernet add/ del tunnel 2.
static void * vl_api_lisp_gpe_add_del_iface_t_print(vl_api_lisp_gpe_add_del_iface_t *mp, void *handle)
static void * vl_api_af_packet_delete_t_print(vl_api_af_packet_delete_t *mp, void *handle)
static void * vl_api_lisp_gpe_enable_disable_t_print(vl_api_lisp_gpe_enable_disable_t *mp, void *handle)
static void * vl_api_pg_enable_disable_t_print(vl_api_pg_enable_disable_t *mp, void *handle)
Set or delete one or all ip addresses on a specified interface.
static void * vl_api_af_packet_create_t_print(vl_api_af_packet_create_t *mp, void *handle)
Call from VLIB_INIT_FUNCTION to set the Linux kernel inject node name.
static void * vl_api_mpls_fib_decap_dump_t_print(vl_api_mpls_fib_decap_dump_t *mp, void *handle)
static void * vl_api_modify_vhost_user_if_t_print(vl_api_modify_vhost_user_if_t *mp, void *handle)
static void * vl_api_classify_table_by_interface_t_print(vl_api_classify_table_by_interface_t *mp, void *handle)
static void * vl_api_show_version_t_print(vl_api_show_version_t *mp, void *handle)
static void * vl_api_set_ip_flow_hash_t_print(vl_api_set_ip_flow_hash_t *mp, void *handle)
Enable and configure IPFIX exporter process request.
PacketGenerator create interface request.
static void * vl_api_lisp_add_del_map_resolver_t_print(vl_api_lisp_add_del_map_resolver_t *mp, void *handle)
Set the ip flow hash config for a fib request.
static void * vl_api_create_loopback_t_print(vl_api_create_loopback_t *mp, void *handle)
enable or disable LISP feature
static void * vl_api_policer_add_del_t_print(vl_api_policer_add_del_t *mp, void *handle)
static void * vl_api_mpls_add_del_encap_t_print(vl_api_mpls_add_del_encap_t *mp, void *handle)
static void * vl_api_dhcp_proxy_config_2_t_print(vl_api_dhcp_proxy_config_2_t *mp, void *handle)
cop: enable/disable junk filtration features on an interface
static void * vl_api_cop_interface_enable_disable_t_print(vl_api_cop_interface_enable_disable_t *mp, void *handle)
Set/unset the classification table for an interface request.
static void * vl_api_policer_classify_dump_t_print(vl_api_policer_classify_dump_t *mp, void *handle)
#define IP6_SR_HEADER_FLAG_PL_ELT_ORIG_SRC_ADDR
Flag bits.
static void * vl_api_ip_source_and_port_range_check_interface_add_del_t_print(vl_api_ip_source_and_port_range_check_interface_add_del_t *mp, void *handle)
#define IP6_SR_HEADER_FLAG_PL_ELT_NOT_PRESENT
Flag bits.
add or delete map-resolver
static void * vl_api_ipsec_gre_add_del_tunnel_t_print(vl_api_ipsec_gre_add_del_tunnel_t *mp, void *handle)
static void * vl_api_lisp_add_del_local_eid_t_print(vl_api_lisp_add_del_local_eid_t *mp, void *handle)
void vl_msg_api_custom_dump_configure(api_main_t *am)
Delete loopback interface request.
vhost-user interface modify request
Register for interface events.
Set L2 XConnect between two interfaces request.
IP neighbor add / del request.
static void * vl_api_create_subif_t_print(vl_api_create_subif_t *mp, void *handle)
Request for eid table summary status.
static void * vl_api_dhcp_client_config_t_print(vl_api_dhcp_client_config_t *mp, void *handle)
Request for locator_set summary status.
Get list of policer classify interfaces and tables.
map/unmap vni/bd_index to vrf
static void * vl_api_vxlan_add_del_tunnel_t_print(vl_api_vxlan_add_del_tunnel_t *mp, void *handle)
IPv6 router advertisement prefix config request.
Set the next node for a given node request.
Query relative index via node names.
static void * vl_api_classify_session_dump_t_print(vl_api_classify_session_dump_t *mp, void *handle)
add or delete locator_set
#define foreach_custom_print_function
OAM add / del target request.
static void * vl_api_lisp_add_del_map_request_itr_rlocs_t_print(vl_api_lisp_add_del_map_request_itr_rlocs_t *mp, void *handle)
static void * vl_api_sw_interface_add_del_address_t_print(vl_api_sw_interface_add_del_address_t *mp, void *handle)
#define IP6_SR_HEADER_FLAG_PL_ELT_INGRESS_PE
Flag bits.
Classify table ids by interface index request.
typedef CLIB_PACKED(struct{u8 is_ip4;u8 priority;u8 weight;u8 addr[16];})
Used for transferring locators via VPP API.
static void * vl_api_set_arp_neighbor_limit_t_print(vl_api_set_arp_neighbor_limit_t *mp, void *handle)
static void * vl_api_want_ip4_arp_events_t_print(vl_api_want_ip4_arp_events_t *mp, void *handle)
static void * vl_api_mpls_add_del_decap_t_print(vl_api_mpls_add_del_decap_t *mp, void *handle)
static void * vl_api_tap_connect_t_print(vl_api_tap_connect_t *mp, void *handle)
static void * vl_api_classify_set_interface_ip_table_t_print(vl_api_classify_set_interface_ip_table_t *mp, void *handle)
static void * vl_api_classify_table_ids_t_print(vl_api_classify_table_ids_t *mp, void *handle)
Interface bridge mode request.
static void * vl_api_l2_interface_efp_filter_t_print(vl_api_l2_interface_efp_filter_t *mp, void *handle)
static void * vl_api_bd_ip_mac_add_del_t_print(vl_api_bd_ip_mac_add_del_t *mp, void *handle)
static void * vl_api_sr_policy_add_del_t_print(vl_api_sr_policy_add_del_t *mp, void *handle)
static void * vl_api_mpls_gre_add_del_tunnel_t_print(vl_api_mpls_gre_add_del_tunnel_t *mp, void *handle)
static void * vl_api_pg_capture_t_print(vl_api_pg_capture_t *mp, void *handle)
static void * vl_api_delete_vhost_user_if_t_print(vl_api_delete_vhost_user_if_t *mp, void *handle)
Process a vpe parser cli string request.
add or delete locator for locator_set
static void * vl_api_mpls_fib_encap_dump_t_print(vl_api_mpls_fib_encap_dump_t *mp, void *handle)
static void * vl_api_lisp_add_del_remote_mapping_t_print(vl_api_lisp_add_del_remote_mapping_t *mp, void *handle)
L2 interface ethernet flow point filtering enable/disable request.
static void * vl_api_sw_interface_set_l2_bridge_t_print(vl_api_sw_interface_set_l2_bridge_t *mp, void *handle)
static void * vl_api_mpls_ethernet_add_del_tunnel_2_t_print(vl_api_mpls_ethernet_add_del_tunnel_2_t *mp, void *handle)
Create loopback interface request.
Set unnumbered interface add / del request.
add or delete remote static mapping
L2 interface vlan tag rewrite configure request.
Add / del MPLS decapsulation request.
Create a new subinterface with the given vlan id.
L2 interface patch add / del request.
Interface set vpath request.
static void * vl_api_sw_interface_tap_dump_t_print(vl_api_sw_interface_tap_dump_t *mp, void *handle)
Modify a tap interface with the given paramters.
static void * vl_api_l2_fib_table_dump_t_print(vl_api_l2_fib_table_dump_t *mp, void *handle)
static void * vl_api_cli_request_t_print(vl_api_cli_request_t *mp, void *handle)
Register for ip4 arp resolution events.
static void * vl_api_sw_interface_dump_t_print(vl_api_sw_interface_dump_t *mp, void *handle)
Set bridge flags (such as L2_LEARN, L2_FWD, L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM) request...
enable or disable lisp-gpe protocol
static void * vl_api_mpls_eth_tunnel_dump_t_print(vl_api_mpls_eth_tunnel_dump_t *mp, void *handle)
vhost-user interface delete request
static void * vl_api_sw_interface_ip6nd_ra_config_t_print(vl_api_sw_interface_ip6nd_ra_config_t *mp, void *handle)
static void * vl_api_l2tpv3_create_tunnel_t_print(vl_api_l2tpv3_create_tunnel_t *mp, void *handle)
MPLS Ethernet add / del tunnel request.
l2tpv3 tunnel interface create request
#define foreach_custom_print_no_arg_function
Associate the specified interface with a fib table.
Dump mpls eth tunnel table.
Add / del MPLS encapsulation request.
DHCP Client config add / del request.
static void * vl_api_sw_interface_ip6nd_ra_prefix_t_print(vl_api_sw_interface_ip6nd_ra_prefix_t *mp, void *handle)
static void * vl_api_policer_classify_set_interface_t_print(vl_api_policer_classify_set_interface_t *mp, void *handle)
static void * vl_api_vxlan_tunnel_dump_t_print(vl_api_vxlan_tunnel_dump_t *mp, void *handle)
static int ip6_sr_policy_list_flags(u16 flags_host_byte_order, int pl_index)
pl_index is one-origined
DHCP Proxy config add / del request.
u32 unnumbered_sw_if_index
static void * vl_api_sw_interface_vhost_user_dump_t_print(vl_api_sw_interface_vhost_user_dump_t *mp, void *handle)
static void * vl_api_classify_table_info_t_print(vl_api_classify_table_info_t *mp, void *handle)
L2 bridge domain add or delete request.
IPv6 segment routing policy add / del request.