Struct bcc_sys::bccapi::bpf_sock[][src]

#[repr(C)]
pub struct bpf_sock { pub bound_dev_if: __u32, pub family: __u32, pub type_: __u32, pub protocol: __u32, pub mark: __u32, pub priority: __u32, pub src_ip4: __u32, pub src_ip6: [__u32; 4], pub src_port: __u32, }

Fields

Trait Implementations

impl Debug for bpf_sock
[src]

Formats the value using the given formatter. Read more

impl Default for bpf_sock
[src]

Returns the "default value" for a type. Read more

impl Copy for bpf_sock
[src]

impl Clone for bpf_sock
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for bpf_sock
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialOrd for bpf_sock
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for bpf_sock
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq for bpf_sock
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for bpf_sock
[src]

Auto Trait Implementations

impl Send for bpf_sock

impl Sync for bpf_sock