Searched refs:frag_offset (Results 1 – 4 of 4) sorted by relevance
/smoltcp-0.9.1/src/wire/ |
D | ipv6fragment.rs | 80 pub fn frag_offset(&self) -> u16 { in frag_offset() method 168 pub frag_offset: u16, field 183 frag_offset: header.frag_offset(), in parse() 199 header.set_frag_offset(self.frag_offset); in emit() 210 self.next_header, self.frag_offset, self.more_frags, self.ident in fmt() 243 assert_eq!(header.frag_offset(), 0); in test_header_deconstruct() 249 assert_eq!(header.frag_offset(), 320); in test_header_deconstruct() 262 frag_offset: 0, in test_repr_parse_valid() 274 frag_offset: 320, in test_repr_parse_valid() 285 frag_offset: 0, in test_repr_emit() [all …]
|
D | ipv4.rs | 408 pub fn frag_offset(&self) -> u16 { in frag_offset() method 647 if packet.more_frags() || packet.frag_offset() != 0 { in parse() 736 if self.frag_offset() != 0 { in fmt() 737 write!(f, " off={}", self.frag_offset())?; in fmt() 739 if self.more_frags() || self.frag_offset() != 0 { in fmt() 775 if ip_packet.more_frags() || ip_packet.frag_offset() != 0 { in pretty_print() 781 ip_packet.frag_offset() in pretty_print() 819 assert_eq!(packet.frag_offset(), 0x203 * 8); in test_deconstruct()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ipv4.rs | 29 if ipv4_packet.more_frags() || ipv4_packet.frag_offset() != 0 { in process_ipv4() 44 + ipv4_packet.frag_offset() as usize, in process_ipv4() 48 if let Err(e) = f.add(ipv4_packet.payload(), ipv4_packet.frag_offset() as usize) { in process_ipv4() 380 packet.set_frag_offset(frag.ipv4.frag_offset); in dispatch_ipv4_frag() 387 &frag.buffer[frag.ipv4.frag_offset as usize + frag.ipv4.repr.buffer_len()..] in dispatch_ipv4_frag() 392 frag.ipv4.frag_offset += payload_len as u16; in dispatch_ipv4_frag()
|
D | mod.rs | 100 frag_offset: u16, field 141 frag_offset: 0, in new() 1822 frag.ipv4.frag_offset = (first_frag_ip_len - ip_header_len) as u16; in dispatch_ip()
|