#[repr(C)]pub struct vnet_pcap_t {
pub pcap_rx_enable: u8_,
pub pcap_tx_enable: u8_,
pub pcap_drop_enable: u8_,
pub pcap_filter_enable: u8_,
pub max_bytes_per_pkt: u32_,
pub pcap_sw_if_index: u32_,
pub pcap_main: pcap_main_t,
pub filter_classify_table_index: u32_,
pub current_filter_function: vlib_is_packet_traced_fn_t,
pub pcap_error_index: vlib_error_t,
}Fields§
§pcap_rx_enable: u8_§pcap_tx_enable: u8_§pcap_drop_enable: u8_§pcap_filter_enable: u8_§max_bytes_per_pkt: u32_§pcap_sw_if_index: u32_§pcap_main: pcap_main_t§filter_classify_table_index: u32_§current_filter_function: vlib_is_packet_traced_fn_t§pcap_error_index: vlib_error_tTrait Implementations§
Source§impl Clone for vnet_pcap_t
impl Clone for vnet_pcap_t
Source§fn clone(&self) -> vnet_pcap_t
fn clone(&self) -> vnet_pcap_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for vnet_pcap_t
impl Debug for vnet_pcap_t
Source§impl Default for vnet_pcap_t
impl Default for vnet_pcap_t
impl Copy for vnet_pcap_t
Auto Trait Implementations§
impl Freeze for vnet_pcap_t
impl RefUnwindSafe for vnet_pcap_t
impl !Send for vnet_pcap_t
impl !Sync for vnet_pcap_t
impl Unpin for vnet_pcap_t
impl UnsafeUnpin for vnet_pcap_t
impl UnwindSafe for vnet_pcap_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more