X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Finterface.h;h=42aada453c1314ef9f3fe90e5116d521c14dfc94;hb=7436b436733ea7217e745f3cc9971aaff1e3dfa4;hp=d3065dc2a9fea1340a5a206ee765053372411d0c;hpb=5cdde5c25a0e71d923a6d56e5c94e058887f95d8;p=vpp.git diff --git a/src/vnet/interface.h b/src/vnet/interface.h index d3065dc2a9f..42aada453c1 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -676,7 +676,7 @@ typedef enum vnet_sw_interface_flags_t_ VNET_SW_INTERFACE_FLAG_UNNUMBERED = (1 << 3), - VNET_SW_INTERFACE_FLAG_BOND_SLAVE = (1 << 4), + __VNET_SW_INTERFACE_FLAG_UNUSED2 = (1 << 4), /* Interface does not appear in CLI/API */ VNET_SW_INTERFACE_FLAG_HIDDEN = (1 << 5), @@ -893,6 +893,18 @@ void vnet_register_format_buffer_opaque_helper void vnet_register_format_buffer_opaque2_helper (vnet_buffer_opquae_formatter_t fn); +typedef struct +{ + u8 *filename; + int enable; + int status; + u32 packets_to_capture; + vlib_rx_or_tx_t rxtx; + u32 sw_if_index; +} vnet_pcap_dispatch_trace_args_t; + +int vnet_pcap_dispatch_trace_configure (vnet_pcap_dispatch_trace_args_t *); + #endif /* included_vnet_interface_h */ /*