pub enum Iff {
Show 20 variants
Up,
Broadcast,
Debug,
Loopback,
Pointopoint,
Running,
Noarp,
Promisc,
Notrailers,
Allmulti,
Master,
Slave,
Multicast,
Portsel,
Automedia,
Dynamic,
LowerUp,
Dormant,
Echo,
UnrecognizedConst(c_uint),
}
Expand description
Values for ifi_flags
in
Ifinfomsg
.
Variants§
Up
Broadcast
Debug
Loopback
Pointopoint
Running
Noarp
Promisc
Notrailers
Allmulti
Master
Slave
Multicast
Portsel
Automedia
Dynamic
LowerUp
Dormant
Echo
UnrecognizedConst(c_uint)
Implementations§
Trait Implementations§
source§impl Ord for Iff
impl Ord for Iff
source§impl PartialOrd<Iff> for Iff
impl PartialOrd<Iff> for Iff
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Size for Iff
impl Size for Iff
source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.