Struct bcc_sys::bccapi::bpf_fib_lookup[][src]

#[repr(C)]
pub struct bpf_fib_lookup {
Show fields pub family: __u8, pub l4_protocol: __u8, pub sport: __be16, pub dport: __be16, pub tot_len: __u16, pub ifindex: __u32, pub __bindgen_anon_1: bpf_fib_lookup__bindgen_ty_1, pub __bindgen_anon_2: bpf_fib_lookup__bindgen_ty_2, pub __bindgen_anon_3: bpf_fib_lookup__bindgen_ty_3, pub h_vlan_proto: __be16, pub h_vlan_TCI: __be16, pub smac: [__u8; 6], pub dmac: [__u8; 6],
}

Fields

family: __u8l4_protocol: __u8sport: __be16dport: __be16tot_len: __u16ifindex: __u32__bindgen_anon_1: bpf_fib_lookup__bindgen_ty_1__bindgen_anon_2: bpf_fib_lookup__bindgen_ty_2__bindgen_anon_3: bpf_fib_lookup__bindgen_ty_3h_vlan_proto: __be16h_vlan_TCI: __be16smac: [__u8; 6]dmac: [__u8; 6]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.