Struct panda_sys::RockerOfDpaFlowKey
source · #[repr(C)]pub struct RockerOfDpaFlowKey {Show 20 fields
pub priority: u32,
pub tbl_id: u32,
pub has_in_pport: bool,
pub in_pport: u32,
pub has_tunnel_id: bool,
pub tunnel_id: u32,
pub has_vlan_id: bool,
pub vlan_id: u16,
pub has_eth_type: bool,
pub eth_type: u16,
pub has_eth_src: bool,
pub eth_src: *mut c_char,
pub has_eth_dst: bool,
pub eth_dst: *mut c_char,
pub has_ip_proto: bool,
pub ip_proto: u8,
pub has_ip_tos: bool,
pub ip_tos: u8,
pub has_ip_dst: bool,
pub ip_dst: *mut c_char,
}
Fields§
§priority: u32
§tbl_id: u32
§has_in_pport: bool
§in_pport: u32
§has_tunnel_id: bool
§tunnel_id: u32
§has_vlan_id: bool
§vlan_id: u16
§has_eth_type: bool
§eth_type: u16
§has_eth_src: bool
§eth_src: *mut c_char
§has_eth_dst: bool
§eth_dst: *mut c_char
§has_ip_proto: bool
§ip_proto: u8
§has_ip_tos: bool
§ip_tos: u8
§has_ip_dst: bool
§ip_dst: *mut c_char
Trait Implementations§
source§impl Clone for RockerOfDpaFlowKey
impl Clone for RockerOfDpaFlowKey
source§fn clone(&self) -> RockerOfDpaFlowKey
fn clone(&self) -> RockerOfDpaFlowKey
Returns a copy 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 RockerOfDpaFlowKey
impl Debug for RockerOfDpaFlowKey
impl Copy for RockerOfDpaFlowKey
Auto Trait Implementations§
impl RefUnwindSafe for RockerOfDpaFlowKey
impl !Send for RockerOfDpaFlowKey
impl !Sync for RockerOfDpaFlowKey
impl Unpin for RockerOfDpaFlowKey
impl UnwindSafe for RockerOfDpaFlowKey
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