Struct ethhdr
#[repr(C, packed(1))]
pub struct ethhdr { pub h_dest: [c_uchar; 6], pub h_source: [c_uchar; 6], pub h_proto: __be16 }
Fields
h_dest: [c_uchar; 6]h_source: [c_uchar; 6]h_proto: __be16
Trait Implementations
impl Clone for ethhdr
fn clone(&self) -> Self
impl Copy for ethhdr
impl Debug for ethhdr
fn fmt(&self, f: &mut Formatter<'_>) -> Result