Module addr

Source
Expand description

Socket address utilities.

§Safety

This file uses CStr::from_bytes_with_nul_unchecked on a string it knows to be NUL-terminated.

Structs§

SocketAddrStorage
struct sockaddr_storage
SocketAddrUnix
struct sockaddr_un

Functions§

offsetof_sun_path 🔒
Return the offset of the sun_path field of sockaddr_un.