Struct netlink_packet_sock_diag::inet::SocketId [−][src]
pub struct SocketId {
pub source_port: u16,
pub destination_port: u16,
pub source_address: IpAddr,
pub destination_address: IpAddr,
pub interface_id: u32,
pub cookie: [u8; 8],
}
Fields
source_port: u16
destination_port: u16
source_address: IpAddr
destination_address: IpAddr
interface_id: u32
An array of opaque identifiers that could be used along with
other fields of this structure to specify an individual
socket. It is ignored when querying for a list of sockets, as
well as when all its elements are set to 0xff
.
Implementations
Trait Implementations
Deserialize the current type.
Auto Trait Implementations
impl RefUnwindSafe for SocketId
impl UnwindSafe for SocketId
Blanket Implementations
Mutably borrows from an owned value. Read more