X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Finterface_funcs.h;h=f5c66d447dec5418d9865324016a67966a78654e;hb=2de9c0f92;hp=9241b34d59d123a2a9c1d0f6687ed82788e40632;hpb=e0792fdff6a9cc141f1cb4c6c1d2ac478cf44ee2;p=vpp.git diff --git a/src/vnet/interface_funcs.h b/src/vnet/interface_funcs.h index 9241b34d59d..f5c66d447de 100644 --- a/src/vnet/interface_funcs.h +++ b/src/vnet/interface_funcs.h @@ -239,6 +239,7 @@ clib_error_t *vnet_create_sw_interface (vnet_main_t * vnm, void vnet_delete_hw_interface (vnet_main_t * vnm, u32 hw_if_index); void vnet_delete_sw_interface (vnet_main_t * vnm, u32 sw_if_index); int vnet_sw_interface_is_p2p (vnet_main_t * vnm, u32 sw_if_index); +int vnet_sw_interface_is_nbma (vnet_main_t * vnm, u32 sw_if_index); always_inline vnet_sw_interface_flags_t vnet_sw_interface_get_flags (vnet_main_t * vnm, u32 sw_if_index) @@ -448,6 +449,9 @@ unformat_function_t unformat_vnet_hw_interface; unformat_function_t unformat_vnet_hw_interface_flags; unformat_function_t unformat_vnet_sw_interface_flags; +/* VLAN tag-rewrite */ +format_function_t format_vtr; + /* Node runtime for interface output function. */ typedef struct {