Enum netlink_packet_sock_diag::inet::nlas::Nla [−][src]
pub enum Nla {
LegacyMemInfo(LegacyMemInfo),
TcpInfo(Vec<u8>),
Congestion(String),
Tos(u8),
Tc(u8),
MemInfo(MemInfo),
Shutdown(u8),
Protocol(u8),
SkV6Only(bool),
Mark(u32),
ClassId(u32),
Other(DefaultNla),
}
Variants
LegacyMemInfo(LegacyMemInfo)
Tuple Fields
The memory information of the socket. This attribute is
similar to Nla::MemInfo
but provides less information. On
recent kernels, Nla::MemInfo
is used instead.
TcpInfo(Vec<u8>)
the TCP information
Congestion(String)
Tuple Fields
0: String
the congestion control algorithm used
Tos(u8)
Tuple Fields
0: u8
the TOS of the socket.
Tc(u8)
Tuple Fields
0: u8
the traffic class of the socket.
MemInfo(MemInfo)
Tuple Fields
0: MemInfo
The memory information of the socket
Shutdown(u8)
Tuple Fields
0: u8
Protocol(u8)
Tuple Fields
0: u8
The protocol
SkV6Only(bool)
Tuple Fields
0: bool
Whether the socket is IPv6 only
Mark(u32)
Tuple Fields
0: u32
The mark of the socket.
ClassId(u32)
Tuple Fields
0: u32
The class ID of the socket.
Other(DefaultNla)
Tuple Fields
0: DefaultNla
other attribute
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Nla
impl UnwindSafe for Nla
Blanket Implementations
Mutably borrows from an owned value. Read more