#[repr(u16)]pub enum SllPacketType {
Host = 0,
Broadcast = 1,
Multicast = 2,
OtherHost = 3,
Outgoing = 4,
LoopbackOutgoing = 5,
FastRoute = 6,
Unknown(u16),
}Expand description
SLL packet type indicating the direction/type of the packet
Variants§
Host = 0
Packet was sent to us by somebody else
Broadcast = 1
Packet was broadcast by somebody else
Multicast = 2
Packet was multicast, but not broadcast, by somebody else
OtherHost = 3
Packet was sent by somebody else to somebody else
Outgoing = 4
Packet was sent by us
LoopbackOutgoing = 5
Packet was sent by us (kernel loopback)
FastRoute = 6
Packet was fastrouted (internal use)
Unknown(u16)
Unknown packet type
Trait Implementations§
Source§impl Clone for SllPacketType
impl Clone for SllPacketType
Source§fn clone(&self) -> SllPacketType
fn clone(&self) -> SllPacketType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SllPacketType
impl Debug for SllPacketType
Source§impl Display for SllPacketType
impl Display for SllPacketType
Source§impl From<u16> for SllPacketType
impl From<u16> for SllPacketType
Source§impl PartialEq for SllPacketType
impl PartialEq for SllPacketType
impl Copy for SllPacketType
impl Eq for SllPacketType
impl StructuralPartialEq for SllPacketType
Auto Trait Implementations§
impl Freeze for SllPacketType
impl RefUnwindSafe for SllPacketType
impl Send for SllPacketType
impl Sync for SllPacketType
impl Unpin for SllPacketType
impl UnsafeUnpin for SllPacketType
impl UnwindSafe for SllPacketType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more