xarxa

Crates

git

Versions

default

Flavors

Skip to main content

Module iface

Module iface 

Source
Expand description

Network interfaces.

An interface is a Driver added to a Stack, together with its configuration: hardware address, IP addresses, and whatever address autoconfiguration is turned on for it.

The two autoconfiguration methods are dhcpv4 and slaac, each turned on per interface and driven by Stack::poll.

Modules§

dhcpv4
DHCPv4 client.
slaac
IPv6 stateless address autoconfiguration (SLAAC), built into the interface.

Structs§

Iface
An interface borrowed from a Stack, returned by Stack::iface.
IfaceAddr
An IP address assigned to an interface.
IfaceHandle
A handle to an interface added to a Stack.
IfaceIter
Iterator over the interfaces of a Stack, returned by Stack::ifaces.

Enums§

AddrOrigin
Where an interface address came from.
Medium
Type of medium of an interface.
MulticastError
Error type for Iface::join_multicast_group and Iface::leave_multicast_group.