Lines Matching defs:u8
56 pub const fn new(a0: u8, a1: u8, a2: u8, a3: u8) -> Address { in new()
71 pub const fn as_bytes(&self) -> &[u8] { in as_bytes()
191 pub const fn prefix_len(&self) -> u8 { in prefix_len()
354 pub fn version(&self) -> u8 { in version()
361 pub fn header_len(&self) -> u8 { in header_len()
367 pub fn dscp(&self) -> u8 { in dscp()
373 pub fn ecn(&self) -> u8 { in ecn()
415 pub fn hop_limit(&self) -> u8 { in hop_limit()
475 pub fn payload(&self) -> &'a [u8] { in payload()
485 pub fn set_version(&mut self, value: u8) { in set_version()
492 pub fn set_header_len(&mut self, value: u8) { in set_header_len()
498 pub fn set_dscp(&mut self, value: u8) { in set_dscp()
504 pub fn set_ecn(&mut self, value: u8) { in set_ecn()
561 pub fn set_hop_limit(&mut self, value: u8) { in set_hop_limit()
606 pub fn payload_mut(&mut self) -> &mut [u8] { in payload_mut()
614 fn as_ref(&self) -> &[u8] { in as_ref()
762 buffer: &dyn AsRef<[u8]>, in pretty_print()