[−][src]Struct nc::bpf::sk_reuseport_md_t
Fields
data: bpf_md_ptr_t
Start of directly accessible data. It begins from the tcp/udp header.
data_end: bpf_md_end_ptr_t
End of directly accessible data
len: u32
Total length of packet (starting from the tcp/udp header). Note that the directly accessible bytes (data_end - data) could be less than this "len". Those bytes could be indirectly read by a helper "bpf_skb_load_bytes()".
eth_protocol: u32
Eth protocol in the mac header (network byte order). e.g. ETH_P_IP(0x0800) and ETH_P_IPV6(0x86DD)
ip_protocol: u32
IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP
bind_inany: u32
Is sock bound to an INANY address?
hash: u32
A hash of the packet 4 tuples
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,