Searched refs:set_header_len (Results 1 – 5 of 5) sorted by relevance
131 pub fn set_header_len(&mut self, value: u8) { in set_header_len() method193 header.set_header_len(self.length); in emit()301 Header::new_unchecked(&mut bytes).set_header_len(len + 1); in test_header_len_overflow()308 Header::new_unchecked(&mut bytes).set_header_len(len + 1); in test_header_len_overflow()
283 pub fn set_header_len(&mut self, value: u8) { in set_header_len() method476 header.set_header_len(length); in emit()492 header.set_header_len(length); in emit()
525 pub fn set_header_len(&mut self, value: u8) { in set_header_len() method929 packet.set_header_len(self.header_len() as u8); in emit()1137 packet.set_header_len(24); in test_construct()1165 packet.set_header_len(10); in test_impossible_len()
492 pub fn set_header_len(&mut self, value: u8) { in set_header_len() method678 packet.set_header_len(field::DST_ADDR.end as u8); in emit()834 packet.set_header_len(20); in test_construct()
1065 hbh_pkt.set_header_len(0); in test_icmpv6_nxthdr_unknown()