#[repr(C)]
pub struct bpf_sk_lookup {
Show 13 fields pub __bindgen_anon_1: bpf_sk_lookup__bindgen_ty_1, pub family: __u32, pub protocol: __u32, pub remote_ip4: __u32, pub remote_ip6: [__u32; 4], pub remote_port: __be16, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub local_ip4: __u32, pub local_ip6: [__u32; 4], pub local_port: __u32, pub ingress_ifindex: __u32, pub __bindgen_padding_0: [u8; 4],
}

Fields

__bindgen_anon_1: bpf_sk_lookup__bindgen_ty_1family: __u32protocol: __u32remote_ip4: __u32remote_ip6: [__u32; 4]remote_port: __be16_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>local_ip4: __u32local_ip6: [__u32; 4]local_port: __u32ingress_ifindex: __u32__bindgen_padding_0: [u8; 4]

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.