Struct bcc_sys::bccapi::__sk_buff [−][src]
#[repr(C)]pub struct __sk_buff { pub len: __u32, pub pkt_type: __u32, pub mark: __u32, pub queue_mapping: __u32, pub protocol: __u32, pub vlan_present: __u32, pub vlan_tci: __u32, pub vlan_proto: __u32, pub priority: __u32, pub ingress_ifindex: __u32, pub ifindex: __u32, pub tc_index: __u32, pub cb: [__u32; 5], pub hash: __u32, pub tc_classid: __u32, pub data: __u32, pub data_end: __u32, pub napi_id: __u32, pub family: __u32, pub remote_ip4: __u32, pub local_ip4: __u32, pub remote_ip6: [__u32; 4], pub local_ip6: [__u32; 4], pub remote_port: __u32, pub local_port: __u32, pub data_meta: __u32, }
Fields
len: __u32
pkt_type: __u32
mark: __u32
queue_mapping: __u32
protocol: __u32
vlan_present: __u32
vlan_tci: __u32
vlan_proto: __u32
priority: __u32
ingress_ifindex: __u32
ifindex: __u32
tc_index: __u32
cb: [__u32; 5]
hash: __u32
tc_classid: __u32
data: __u32
data_end: __u32
napi_id: __u32
family: __u32
remote_ip4: __u32
local_ip4: __u32
remote_ip6: [__u32; 4]
local_ip6: [__u32; 4]
remote_port: __u32
local_port: __u32
data_meta: __u32
Trait Implementations
impl Debug for __sk_buff
[src]
impl Debug for __sk_buff
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for __sk_buff
[src]
impl Default for __sk_buff
impl Copy for __sk_buff
[src]
impl Copy for __sk_buff
impl Clone for __sk_buff
[src]
impl Clone for __sk_buff
fn clone(&self) -> __sk_buff
[src]
fn clone(&self) -> __sk_buff
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for __sk_buff
[src]
impl Hash for __sk_buff
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialOrd for __sk_buff
[src]
impl PartialOrd for __sk_buff
fn partial_cmp(&self, other: &__sk_buff) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &__sk_buff) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &__sk_buff) -> bool
[src]
fn lt(&self, other: &__sk_buff) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &__sk_buff) -> bool
[src]
fn le(&self, other: &__sk_buff) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &__sk_buff) -> bool
[src]
fn gt(&self, other: &__sk_buff) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &__sk_buff) -> bool
[src]
fn ge(&self, other: &__sk_buff) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for __sk_buff
[src]
impl Ord for __sk_buff
fn cmp(&self, other: &__sk_buff) -> Ordering
[src]
fn cmp(&self, other: &__sk_buff) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for __sk_buff
[src]
impl PartialEq for __sk_buff
fn eq(&self, other: &__sk_buff) -> bool
[src]
fn eq(&self, other: &__sk_buff) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &__sk_buff) -> bool
[src]
fn ne(&self, other: &__sk_buff) -> bool
This method tests for !=
.
impl Eq for __sk_buff
[src]
impl Eq for __sk_buff