Struct nc::types::sk_msg_md_t[][src]

#[repr(C)]
pub struct sk_msg_md_t { pub data: bpf_md_ptr_t, pub data_end: bpf_md_end_ptr_t, 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 size: u32, }
Expand description

user accessible metadata for SK_MSG packet hook, new fields must be added to the end of this structure

Fields

data: bpf_md_ptr_tdata_end: bpf_md_end_ptr_tfamily: u32remote_ip4: u32

Stored in network byte order

local_ip4: u32

Stored in network byte order

remote_ip6: [u32; 4]

Stored in network byte order

local_ip6: [u32; 4]

Stored in network byte order

remote_port: u32

Stored in network byte order

local_port: u32

stored in host byte order

size: u32

Total size of sk_msg

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 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.