51 #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) 55 vl_print (handle, (char *)s); \ 65 s =
format (0,
"SCRIPT: create_loopback ");
76 s =
format (0,
"SCRIPT: delete_loopback ");
86 s =
format (0,
"SCRIPT: sw_interface_set_flags ");
91 s =
format (s,
"admin-up ");
93 s =
format (s,
"admin-down ");
98 s =
format (s,
"link-down");
108 s =
format (0,
"SCRIPT: sw_interface_add_del_address ");
122 s =
format (s,
"del-all ");
132 s =
format (0,
"SCRIPT: sw_interface_set_table ");
150 s =
format (0,
"SCRIPT: sw_interface_set_vpath ");
155 s =
format (s,
"vPath enable ");
157 s =
format (s,
"vPath disable ");
167 s =
format (0,
"SCRIPT: sw_interface_set_l2_xconnect ");
173 }
else s =
format (s,
"delete ");
183 s =
format (0,
"SCRIPT: sw_interface_set_l2_bridge ");
188 s =
format (s,
"bd_id %d shg %d %senable ", ntohl(mp->
bd_id),
189 mp->
shg, ((mp->
bvi)?
"bvi ":
" "));
190 }
else s =
format (s,
"disable ");
200 s =
format (0,
"SCRIPT: bridge_domain_add_del ");
205 s =
format (s,
"flood %d uu-flood %d forward %d learn %d arp-term %d",
208 }
else s =
format (s,
"del ");
219 s =
format (0,
"SCRIPT: bridge_domain_dump ");
222 s =
format (s,
"bd_id %d ", bd_id);
232 s =
format (0,
"SCRIPT: l2fib_add_del ");
256 s =
format (0,
"SCRIPT: l2_flags ");
261 if (flags & L2INPUT_FEAT_ ## a) s = format (s, #a " "); 274 s =
format (0,
"SCRIPT: bridge_flags ");
294 s =
format (0,
"SCRIPT: bd_ip_mac_add_del ");
315 memset(null_mac, 0,
sizeof (null_mac));
317 s =
format (0,
"SCRIPT: tap_connect ");
320 s =
format (s,
"random-mac ");
334 memset(null_mac, 0,
sizeof (null_mac));
336 s =
format (0,
"SCRIPT: tap_modify ");
340 s =
format (s,
"random-mac ");
353 s =
format (0,
"SCRIPT: tap_delete ");
364 s =
format (0,
"SCRIPT: sw_interface_tap_dump ");
375 s =
format (0,
"SCRIPT: ip_add_del_route ");
407 s =
format (s,
"create-vrf ");
416 s =
format (s,
"not-last ");
419 s =
format (s,
"multipath ");
422 s =
format (s,
"multipath ");
435 s =
format (0,
"SCRIPT: proxy_arp_add_del ");
454 s =
format (0,
"SCRIPT: proxy_arp_intfc_enable_disable ");
468 s =
format (0,
"SCRIPT: mpls_add_del_decap ");
479 s =
format (s,
"s-bit-clear ");
493 s =
format (0,
"SCRIPT: mpls_add_del_encap ");
499 for (i = 0; i < mp->
nlabels; i++)
513 s =
format (0,
"SCRIPT: mpls_gre_add_del_tunnel ");
530 s =
format (s,
"l2-only ");
540 s =
format (0,
"SCRIPT: mpls_ethernet_add_del_tunnel ");
552 s =
format (s,
"l2-only ");
565 s =
format (0,
"SCRIPT: mpls_ethernet_add_del_tunnel_2 ");
582 s =
format (s,
"l2-only ");
595 s =
format (0,
"SCRIPT: sw_interface_set_unnumbered ");
613 memset(null_mac, 0,
sizeof (null_mac));
615 s =
format (0,
"SCRIPT: ip_neighbor_add_del ");
620 s =
format (s,
"is_static ");
643 s =
format (0,
"SCRIPT: reset_vrf ");
659 s =
format (0,
"SCRIPT: create_vlan_subif ");
670 #define foreach_create_subif_bit \ 677 _(outer_vlan_id_any) \ 685 s =
format (0,
"SCRIPT: create_subif ");
697 #define _(a) if (mp->a) s = format (s, "%s ", #a); 710 s =
format (0,
"SCRIPT: oam_add_del ");
730 s =
format (0,
"SCRIPT: reset_fib ");
746 s =
format (0,
"SCRIPT: dhcp_proxy_config ");
774 s =
format (0,
"SCRIPT: dhcp_proxy_config_2 ");
803 s =
format (0,
"SCRIPT: dhcp_proxy_set_vss ");
809 s =
format (s,
"oui %d ", ntohl(mp->
oui));
825 s =
format (0,
"SCRIPT: dhcp_client_config ");
847 s =
format (0,
"SCRIPT: set_ip_flow_hash ");
867 s =
format (s,
"reverse ");
880 s =
format (0,
"SCRIPT: sw_interface_ip6_set_link_local_address ");
895 s =
format (0,
"SCRIPT: sw_interface_ip6nd_ra_prefix ");
916 s =
format (s,
"noauto ");
919 s =
format (s,
"nolink ");
932 s =
format (0,
"SCRIPT: sw_interface_ip6nd_ra_config ");
947 s =
format (s,
"surpress ");
950 s =
format (s,
"managed ");
978 s =
format (0,
"SCRIPT: set_arp_neighbor_limit ");
993 s =
format (0,
"SCRIPT: l2_patch_add_del ");
1011 u16 flags_host_byte_order;
1014 s =
format (0,
"SCRIPT: sr_tunnel_add_del ");
1029 for (i = 0; i < mp->
n_tags; i++) {
1037 s =
format (s,
" clean ");
1040 s =
format (s,
"protected ");
1042 for (i = 1; i <= 4; i++) {
1050 s =
format (s,
"InPE %d ", i);
1054 s =
format (s,
"EgPE %d ", i);
1058 s =
format (s,
"OrgSrc %d ", i);
1082 s =
format (0,
"SCRIPT: sr_policy_add_del ");
1093 deser_tun_names += 1;
1096 int tun_name_len = 0;
1098 for (i=0; i < num_tunnels; i++)
1100 tun_name_len= *deser_tun_names;
1101 deser_tun_names += 1;
1103 memcpy(tun_name, deser_tun_names, tun_name_len);
1104 s =
format (s,
"tunnel %s ", tun_name);
1105 deser_tun_names += tun_name_len;
1123 s =
format (0,
"SCRIPT: sr_multicast_map_add_del ");
1145 s =
format (0,
"SCRIPT: classify_add_del_table ");
1157 s =
format (s,
"mask hex ");
1172 s =
format (0,
"SCRIPT: classify_add_del_session ");
1181 s =
format (s,
"match hex ");
1182 for (i = 5 *
sizeof(u32x4)-1; i > 0; i--) {
1183 if (mp->
match[i] != 0) {
1189 for (i = 0; i < limit; i++)
1200 s =
format (0,
"SCRIPT: classify_set_interface_ip_table ");
1216 s =
format (0,
"SCRIPT: classify_set_interface_l2_tables ");
1231 s =
format (0,
"SCRIPT: add_node_next ");
1243 s =
format (0,
"SCRIPT: l2tpv3_create_tunnel ");
1245 s =
format (s,
"client_address %U our_address %U ",
1250 s =
format (s,
"local_cookie %lld ",
1252 s =
format (s,
"remote_cookie %lld ",
1255 s =
format (s,
"l2-sublayer-present ");
1265 s =
format (0,
"SCRIPT: l2tpv3_set_tunnel_cookies ");
1269 s =
format (s,
"new_local_cookie %llu ",
1272 s =
format (s,
"new_remote_cookie %llu ",
1283 s =
format (0,
"SCRIPT: l2tpv3_interface_enable_disable ");
1297 char * str =
"unknown";
1299 s =
format (0,
"SCRIPT: l2tpv3_set_lookup_key ");
1303 str =
"lookup_v6_src";
1306 str =
"lookup_v6_dst";
1309 str =
"lookup_session_id";
1315 s =
format (s,
"%s ", str);
1325 s =
format (0,
"SCRIPT: sw_if_l2tpv3_tunnel_dump ");
1335 s =
format (0,
"SCRIPT: vxlan_add_del_tunnel ");
1348 s =
format (s,
"vni %d ", ntohl(mp->
vni));
1361 s =
format (0,
"SCRIPT: vxlan_tunnel_dump ");
1373 s =
format (0,
"SCRIPT: gre_add_del_tunnel ");
1395 s =
format (0,
"SCRIPT: gre_tunnel_dump ");
1407 s =
format (0,
"SCRIPT: l2_fib_clear_table ");
1417 s =
format (0,
"SCRIPT: l2_interface_efp_filter ");
1421 s =
format (s,
"enable ");
1423 s =
format (s,
"disable ");
1433 s =
format (0,
"SCRIPT: l2_interface_vlan_tag_rewrite ");
1449 s =
format (0,
"SCRIPT: create_vhost_user_if ");
1453 s =
format (s,
"server ");
1465 s =
format (0,
"SCRIPT: modify_vhost_user_if ");
1470 s =
format (s,
"server ");
1482 s =
format (0,
"SCRIPT: delete_vhost_user_if ");
1493 s =
format (0,
"SCRIPT: sw_interface_vhost_user_dump ");
1503 s =
format (0,
"SCRIPT: sw_interface_dump ");
1518 s =
format (0,
"SCRIPT: l2_fib_table_dump ");
1530 s =
format (0,
"SCRIPT: control_ping ");
1540 s =
format (0,
"SCRIPT: want_interface_events pid %d enable %d ",
1551 s =
format (0,
"SCRIPT: cli_request ");
1561 s =
format (0,
"SCRIPT: memclnt_create name %s ", mp->
name);
1571 s =
format (0,
"SCRIPT: show_version ");
1581 s =
format (0,
"SCRIPT: vxlan_gpe_add_del_tunnel ");
1588 s =
format (s,
"vni %d ", ntohl(mp->
vni));
1607 s =
format (0,
"SCRIPT: interface_renumber ");
1611 s =
format (s,
"new_show_dev_instance %d ",
1622 s =
format (0,
"SCRIPT: want_ip4_arp_events ");
1623 s =
format (s,
"pid %d address %U ", mp->
pid,
1636 s =
format (0,
"SCRIPT: input_acl_set_interface ");
1654 s =
format (0,
"SCRIPT: ip6_address_dump ");
1666 s =
format (0,
"SCRIPT: ip_dump ");
1677 s =
format (0,
"SCRIPT: cop_interface_enable_disable ");
1680 s =
format (s,
"enable ");
1682 s =
format (s,
"disable ");
1692 s =
format (0,
"SCRIPT: cop_whitelist_enable_disable ");
1700 s =
format (s,
"default ");
1710 s =
format (0,
"SCRIPT: sw_interface_clear_stats ");
1717 #define foreach_custom_print_function \ 1718 _(CREATE_LOOPBACK, create_loopback) \ 1719 _(SW_INTERFACE_SET_FLAGS, sw_interface_set_flags) \ 1720 _(SW_INTERFACE_ADD_DEL_ADDRESS, sw_interface_add_del_address) \ 1721 _(SW_INTERFACE_SET_TABLE, sw_interface_set_table) \ 1722 _(SW_INTERFACE_SET_VPATH, sw_interface_set_vpath) \ 1723 _(TAP_CONNECT, tap_connect) \ 1724 _(TAP_MODIFY, tap_modify) \ 1725 _(TAP_DELETE, tap_delete) \ 1726 _(SW_INTERFACE_TAP_DUMP, sw_interface_tap_dump) \ 1727 _(IP_ADD_DEL_ROUTE, ip_add_del_route) \ 1728 _(PROXY_ARP_ADD_DEL, proxy_arp_add_del) \ 1729 _(PROXY_ARP_INTFC_ENABLE_DISABLE, proxy_arp_intfc_enable_disable) \ 1730 _(MPLS_ADD_DEL_DECAP, mpls_add_del_decap) \ 1731 _(MPLS_ADD_DEL_ENCAP, mpls_add_del_encap) \ 1732 _(MPLS_GRE_ADD_DEL_TUNNEL, mpls_gre_add_del_tunnel) \ 1733 _(MPLS_ETHERNET_ADD_DEL_TUNNEL, mpls_ethernet_add_del_tunnel) \ 1734 _(MPLS_ETHERNET_ADD_DEL_TUNNEL_2, mpls_ethernet_add_del_tunnel_2) \ 1735 _(SW_INTERFACE_SET_UNNUMBERED, sw_interface_set_unnumbered) \ 1736 _(IP_NEIGHBOR_ADD_DEL, ip_neighbor_add_del) \ 1737 _(RESET_VRF, reset_vrf) \ 1738 _(CREATE_VLAN_SUBIF, create_vlan_subif) \ 1739 _(CREATE_SUBIF, create_subif) \ 1740 _(OAM_ADD_DEL, oam_add_del) \ 1741 _(RESET_FIB, reset_fib) \ 1742 _(DHCP_PROXY_CONFIG, dhcp_proxy_config) \ 1743 _(DHCP_PROXY_SET_VSS, dhcp_proxy_set_vss) \ 1744 _(SET_IP_FLOW_HASH, set_ip_flow_hash) \ 1745 _(SW_INTERFACE_IP6_SET_LINK_LOCAL_ADDRESS, \ 1746 sw_interface_ip6_set_link_local_address) \ 1747 _(SW_INTERFACE_IP6ND_RA_PREFIX, sw_interface_ip6nd_ra_prefix) \ 1748 _(SW_INTERFACE_IP6ND_RA_CONFIG, sw_interface_ip6nd_ra_config) \ 1749 _(SET_ARP_NEIGHBOR_LIMIT, set_arp_neighbor_limit) \ 1750 _(L2_PATCH_ADD_DEL, l2_patch_add_del) \ 1751 _(SR_TUNNEL_ADD_DEL, sr_tunnel_add_del) \ 1752 _(SR_POLICY_ADD_DEL, sr_policy_add_del) \ 1753 _(SR_MULTICAST_MAP_ADD_DEL, sr_multicast_map_add_del) \ 1754 _(SW_INTERFACE_SET_L2_XCONNECT, sw_interface_set_l2_xconnect) \ 1755 _(L2FIB_ADD_DEL, l2fib_add_del) \ 1756 _(L2_FLAGS, l2_flags) \ 1757 _(BRIDGE_FLAGS, bridge_flags) \ 1758 _(CLASSIFY_ADD_DEL_TABLE, classify_add_del_table) \ 1759 _(CLASSIFY_ADD_DEL_SESSION, classify_add_del_session) \ 1760 _(SW_INTERFACE_SET_L2_BRIDGE, sw_interface_set_l2_bridge) \ 1761 _(BRIDGE_DOMAIN_ADD_DEL, bridge_domain_add_del) \ 1762 _(BRIDGE_DOMAIN_DUMP, bridge_domain_dump) \ 1763 _(CLASSIFY_SET_INTERFACE_IP_TABLE, classify_set_interface_ip_table) \ 1764 _(CLASSIFY_SET_INTERFACE_L2_TABLES, classify_set_interface_l2_tables) \ 1765 _(ADD_NODE_NEXT, add_node_next) \ 1766 _(DHCP_PROXY_CONFIG_2, dhcp_proxy_config_2) \ 1767 _(DHCP_CLIENT_CONFIG, dhcp_client_config) \ 1768 _(L2TPV3_CREATE_TUNNEL, l2tpv3_create_tunnel) \ 1769 _(L2TPV3_SET_TUNNEL_COOKIES, l2tpv3_set_tunnel_cookies) \ 1770 _(L2TPV3_INTERFACE_ENABLE_DISABLE, l2tpv3_interface_enable_disable) \ 1771 _(L2TPV3_SET_LOOKUP_KEY, l2tpv3_set_lookup_key) \ 1772 _(SW_IF_L2TPV3_TUNNEL_DUMP, sw_if_l2tpv3_tunnel_dump) \ 1773 _(VXLAN_ADD_DEL_TUNNEL, vxlan_add_del_tunnel) \ 1774 _(VXLAN_TUNNEL_DUMP, vxlan_tunnel_dump) \ 1775 _(GRE_ADD_DEL_TUNNEL, gre_add_del_tunnel) \ 1776 _(GRE_TUNNEL_DUMP, gre_tunnel_dump) \ 1777 _(L2_FIB_CLEAR_TABLE, l2_fib_clear_table) \ 1778 _(L2_INTERFACE_EFP_FILTER, l2_interface_efp_filter) \ 1779 _(L2_INTERFACE_VLAN_TAG_REWRITE, l2_interface_vlan_tag_rewrite) \ 1780 _(CREATE_VHOST_USER_IF, create_vhost_user_if) \ 1781 _(MODIFY_VHOST_USER_IF, modify_vhost_user_if) \ 1782 _(DELETE_VHOST_USER_IF, delete_vhost_user_if) \ 1783 _(SW_INTERFACE_DUMP, sw_interface_dump) \ 1784 _(CONTROL_PING, control_ping) \ 1785 _(WANT_INTERFACE_EVENTS, want_interface_events) \ 1786 _(CLI_REQUEST, cli_request) \ 1787 _(MEMCLNT_CREATE, memclnt_create) \ 1788 _(SW_INTERFACE_VHOST_USER_DUMP, sw_interface_vhost_user_dump) \ 1789 _(SHOW_VERSION, show_version) \ 1790 _(L2_FIB_TABLE_DUMP, l2_fib_table_dump) \ 1791 _(VXLAN_GPE_ADD_DEL_TUNNEL, vxlan_gpe_add_del_tunnel) \ 1792 _(INTERFACE_NAME_RENUMBER, interface_name_renumber) \ 1793 _(WANT_IP4_ARP_EVENTS, want_ip4_arp_events) \ 1794 _(INPUT_ACL_SET_INTERFACE, input_acl_set_interface) \ 1795 _(IP_ADDRESS_DUMP, ip_address_dump) \ 1796 _(IP_DUMP, ip_dump) \ 1797 _(DELETE_LOOPBACK, delete_loopback) \ 1798 _(BD_IP_MAC_ADD_DEL, bd_ip_mac_add_del) \ 1799 _(COP_INTERFACE_ENABLE_DISABLE, cop_interface_enable_disable) \ 1800 _(COP_WHITELIST_ENABLE_DISABLE, cop_whitelist_enable_disable) \ 1801 _(SW_INTERFACE_CLEAR_STATS, sw_interface_clear_stats) 1805 #define _(n,f) am->msg_print_handlers[VL_API_##n] \ 1806 = (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 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)
DHCP Proxy set / unset vss request.
Proxy ARP add / del request.
Reset VRF (remove all routes etc) request.
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_l2_patch_add_del_t_print(vl_api_l2_patch_add_del_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)
#define IP6_SR_HEADER_FLAG_PL_ELT_EGRESS_PE
#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)
#define IP6_SR_HEADER_FLAG_PROTECTED
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_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.
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)
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_oam_add_del_t_print(vl_api_oam_add_del_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.
static void * vl_api_ip_address_dump_t_print(vl_api_ip_address_dump_t *mp, void *handle)
#define clib_warning(format, args...)
#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_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
Dump l2 fib (aka bridge domain) table.
Set L2 flags request !!! TODO - need more info, feature bits in l2_input.h.
u8 next_hop_ip4_address_in_outer_vrf[4]
L2 fib clear table request, clear all mac entries in the l2 fib.
static void * vl_api_sw_interface_set_vpath_t_print(vl_api_sw_interface_set_vpath_t *mp, void *handle)
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.
Set bridge domain ip to mac entry request.
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.
Set or delete one or all ip addresses on a specified interface.
static void * vl_api_modify_vhost_user_if_t_print(vl_api_modify_vhost_user_if_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)
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)
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.
#define IP6_SR_HEADER_FLAG_PL_ELT_ORIG_SRC_ADDR
#define IP6_SR_HEADER_FLAG_PL_ELT_NOT_PRESENT
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)
static void * vl_api_dhcp_client_config_t_print(vl_api_dhcp_client_config_t *mp, void *handle)
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.
#define foreach_custom_print_function
OAM add / del target request.
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
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)
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_delete_vhost_user_if_t_print(vl_api_delete_vhost_user_if_t *mp, void *handle)
Process a vpe parser cli string request.
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.
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...
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
Associate the specified interface with a fib 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_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)
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)
L2 bridge domain add or delete request.
IPv6 segment routing policy add / del request.