Expand description
Crate providing utilities for coercing between types of sockaddr structs.
Structs§
- Socket address for an Ethernet packet socket.
- Socket address for a Pure IP packet socket.
Traits§
- Socket addresses that can be converted to
socket2::SockAddr
. - Socket addresses that can be converted to
libc::sockaddr_ll
.
Functions§
- Returns the protocol, in network byte order, for the given
IpVersion
.