Home
last modified time | relevance | path

Searched refs:packet_len (Results 1 – 4 of 4) sorted by relevance

/smoltcp-0.9.1/src/iface/interface/
Dmod.rs82 packet_len: usize, field
127 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()
Dipv4.rs337 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()
Dsixlowpan.rs423 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()
/smoltcp-0.9.1/src/wire/
Ddhcpv4.rs1212 let packet_len = packet.len(); in test_emit_discover() localVariable
1213 assert_eq!(packet, &DISCOVER_BYTES[..packet_len]); in test_emit_discover()
1214 for byte in &DISCOVER_BYTES[packet_len..] { in test_emit_discover()