Struct ifaces::interface::Interface
[−]
[src]
pub struct Interface { pub name: String, pub kind: Kind, pub addr: Option<SocketAddr>, pub mask: Option<SocketAddr>, pub hop: Option<NextHop>, }
Fields
name: String
The name of this interface.
kind: Kind
The kind of interface this is.
addr: Option<SocketAddr>
The address of this interface, if it has one.
mask: Option<SocketAddr>
The netmask of this interface, if it has one.
hop: Option<NextHop>
The broadcast address or destination address, if it has one.