Searched refs:packet_len (Results 1 – 4 of 4) sorted by relevance
82 packet_len: usize, field127 packet_len: 0, in new()160 self.packet_len == self.sent_bytes in finished()166 self.packet_len == 0 in is_empty()171 self.packet_len = 0; in reset()1002 if pkt.packet_len > pkt.sent_bytes { in ipv4_egress()1032 if pkt.packet_len > pkt.sent_bytes { in sixlowpan_egress()1789 frag.packet_len = total_ip_len; in dispatch_ip()
337 let ip_len = (frag.packet_len - frag.sent_bytes + frag.ipv4.repr.buffer_len()).min(mtu_max); in dispatch_ipv4_frag()340 let more_frags = (frag.packet_len - frag.sent_bytes) != payload_len; in dispatch_ipv4_frag()
423 pkt.packet_len = total_size; in dispatch_ieee802154()572 let frag_size = (frag.packet_len - frag.sent_bytes).min(frag.sixlowpan.fragn_size); in dispatch_ieee802154_frag()
1212 let packet_len = packet.len(); in test_emit_discover() localVariable1213 assert_eq!(packet, &DISCOVER_BYTES[..packet_len]); in test_emit_discover()1214 for byte in &DISCOVER_BYTES[packet_len..] { in test_emit_discover()