#[repr(C, packed(1))]pub struct nbpf_rule_core_fields_t {Show 20 fields
pub not_rule: c_uchar,
pub smac: [c_uchar; 6],
pub dmac: [c_uchar; 6],
pub proto: c_uchar,
pub ip_version: c_uchar,
pub gtp: c_uchar,
pub vlan: c_uchar,
pub mpls: c_uchar,
pub vlan_id: c_ushort,
pub l7_proto: c_ushort,
pub mpls_label: c_ushort,
pub shost: nbpf_ip_addr,
pub dhost: nbpf_ip_addr,
pub shost_mask: nbpf_ip_addr,
pub dhost_mask: nbpf_ip_addr,
pub sport_low: c_ushort,
pub sport_high: c_ushort,
pub dport_low: c_ushort,
pub dport_high: c_ushort,
pub byte_match: *mut nbpf_rule_core_fields_byte_match_t,
}Fields§
§not_rule: c_uchar§smac: [c_uchar; 6]§dmac: [c_uchar; 6]§proto: c_uchar§ip_version: c_uchar§gtp: c_uchar§vlan: c_uchar§mpls: c_uchar§vlan_id: c_ushort§l7_proto: c_ushort§mpls_label: c_ushort§shost: nbpf_ip_addr§dhost: nbpf_ip_addr§shost_mask: nbpf_ip_addr§dhost_mask: nbpf_ip_addr§sport_low: c_ushort§sport_high: c_ushort§dport_low: c_ushort§dport_high: c_ushort§byte_match: *mut nbpf_rule_core_fields_byte_match_tAuto Trait Implementations§
impl Freeze for nbpf_rule_core_fields_t
impl RefUnwindSafe for nbpf_rule_core_fields_t
impl !Send for nbpf_rule_core_fields_t
impl !Sync for nbpf_rule_core_fields_t
impl Unpin for nbpf_rule_core_fields_t
impl UnwindSafe for nbpf_rule_core_fields_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