Expand description
Network interfaces.
An interface is a Driver added to a Stack, together with its
configuration.
Interfaces can be configured manually, or automatically with dhcpv4 or slaac.
An interface can also hand out addresses itself, as a dhcpv4_server.
Modules§
- dhcpv4
- DHCPv4 client.
- dhcpv4_
server - DHCPv4 server.
- slaac
- IPv6 stateless address autoconfiguration (SLAAC), built into the interface.
Structs§
- Iface
- An interface borrowed from a
Stack, returned byStack::iface. - Iface
Addr - An IP address assigned to an interface.
- Iface
Handle - A handle to an interface added to a
Stack. - Iface
Iter - Iterator over the interfaces of a
Stack, returned byStack::ifaces. - Medium
Mismatch - The interface’s medium can not do this.
Enums§
- AddIface
Error - Error returned by
Stack::add_ifaceandStack::add_iface_borrowed. - Addr
Error - Error returned by
Iface::add_ip_addrandIface::set_ip_addrs. - Addr
Origin - Where an interface address came from.
- Medium
- Type of medium of an interface.
- Multicast
Error - Error type for
Iface::join_multicast_groupandIface::leave_multicast_group. - Preferred
- Whether an address is preferred, or deprecated.