Structs§
- ArpHrd
- Arp Hardware Type (ArpHrd)
- Ether
Type - physical layer protocol (Ethertype)
- Inet4
Addr - An IPv4 socket address
- Inet6
Addr - An IPv6 socket address
- Ipv4
Addr - An IPv4 address.
- Ipv6
Addr - An IPv6 address.
- Link
Addr - Hardware Address
- Packet
Type - Unix
Addr - A wrapper around
sockaddr_un.
Constants§
Traits§
- NetAddr
Ext - ToNet
Addr - Converts the socket address to a NetAddr.
- With
Port - Takes an address, gives it a port, and makes a NetAddr.
Functions§
- linkaddr_
for_ ifindex - new_
linkaddr - nix doesn’t provide a safe way to construct LinkAddrs, so we provide our own.
- to_
net_ addr - tokio_
to_ unixaddr
Type Aliases§
Unions§
- NetAddr
- A container for any sockaddr type