Struct xenet_packet::sll::SLL
source · pub struct SLL {
pub packet_type: u16be,
pub link_layer_address_type: u16be,
pub link_layer_address_len: u16be,
pub link_layer_address: Vec<u8>,
pub protocol: EtherType,
pub payload: Vec<u8>,
}
Expand description
Represents an SLL packet (LINKTYPE_LINUX_SLL).
Fields§
§packet_type: u16be
§link_layer_address_type: u16be
§link_layer_address_len: u16be
§link_layer_address: Vec<u8>
§protocol: EtherType
§payload: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SLL
impl Send for SLL
impl Sync for SLL
impl Unpin for SLL
impl UnwindSafe for SLL
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