Struct netlink_packet_sock_diag::unix::UnixResponseHeader [−][src]
Expand description
The response to a query for IPv4 or IPv6 sockets
Fields
kind: u8
One of SOCK_PACKET
, SOCK_STREAM
, or SOCK_SEQPACKET
state: u8
State of the socket. According to man 7 sock_diag
it can be
either TCP_ESTABLISHED
or TCP_LISTEN
. However datagram
UNIX sockets are not connection oriented so I would assume
that this field can also take other value (maybe 0
) for
these sockets.
inode: u32
Socket inode number.
Trait Implementations
Deserialize the current type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UnixResponseHeader
impl Send for UnixResponseHeader
impl Sync for UnixResponseHeader
impl Unpin for UnixResponseHeader
impl UnwindSafe for UnixResponseHeader
Blanket Implementations
Mutably borrows from an owned value. Read more