Home
last modified time | relevance | path

Searched refs:hop_limit (Results 1 – 19 of 19) sorted by relevance

/smoltcp-0.9.1/src/socket/
Dicmp.rs87 hop_limit: Option<u8>, field
101 hop_limit: None, in new()
147 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() method
148 self.hop_limit in hop_limit()
162 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit()
164 if let Some(0) = hop_limit { in set_hop_limit()
168 self.hop_limit = hop_limit in set_hop_limit()
487 let hop_limit = self.hop_limit.unwrap_or(64); in dispatch() localVariable
523 hop_limit: hop_limit, in dispatch()
560 hop_limit: hop_limit, in dispatch()
[all …]
Dudp.rs51 hop_limit: Option<u8>, field
65 hop_limit: None, in new()
117 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() method
118 self.hop_limit in hop_limit()
132 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit()
134 if let Some(0) = hop_limit { in set_hop_limit()
138 self.hop_limit = hop_limit in set_hop_limit()
429 let hop_limit = self.hop_limit.unwrap_or(64); in dispatch() localVariable
463 hop_limit, in dispatch()
546 hop_limit: 64,
[all …]
Ddns.rs119 hop_limit: Option<u8>, field
135 hop_limit: None, in new()
151 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() method
152 self.hop_limit in hop_limit()
166 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit()
168 if let Some(0) = hop_limit { in set_hop_limit()
172 self.hop_limit = hop_limit in set_hop_limit()
507 let hop_limit = self.hop_limit.unwrap_or(64); in dispatch() localVariable
594 hop_limit, in dispatch()
Ddhcpv4.rs555 hop_limit: 64, in dispatch()
832 hop_limit: 64,
840 hop_limit: 64,
848 hop_limit: 64,
856 hop_limit: 64,
Dtcp.rs366 hop_limit: Option<u8>, field
457 hop_limit: None, in new()
623 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() method
624 self.hop_limit in hop_limit()
638 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit()
640 if let Some(0) = hop_limit { in set_hop_limit()
644 self.hop_limit = hop_limit in set_hop_limit()
2040 self.hop_limit.unwrap_or(64), in dispatch()
2360 hop_limit: 64,
2380 hop_limit: 64,
[all …]
Draw.rs447 hop_limit: 64,
484 hop_limit: 64,
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs159 hop_limit: 0x40, in test_no_icmp_no_unicast_ipv4()
193 hop_limit: 0x40, in test_no_icmp_no_unicast_ipv6()
218 hop_limit: 0x40, in test_icmp_error_no_payload()
234 hop_limit: 64, in test_icmp_error_no_payload()
245 hop_limit: 64, in test_icmp_error_no_payload()
338 hop_limit: 64, in test_icmp_error_port_unreachable()
362 hop_limit: 64, in test_icmp_error_port_unreachable()
372 hop_limit: 64, in test_icmp_error_port_unreachable()
391 hop_limit: 64, in test_icmp_error_port_unreachable()
455 hop_limit: 0x40, in test_handle_udp_broadcast()
[all …]
Dipv6.rs157 Icmpv6Repr::Ndisc(repr) if ip_repr.hop_limit() == 0xff => match ip_repr { in process_icmpv6()
238 hop_limit: 0xff, in process_ndisc()
300 hop_limit: 64, in icmpv6_reply()
Dipv4.rs306 hop_limit: 64, in icmpv4_reply()
319 hop_limit: 64, in icmpv4_reply()
414 hop_limit: 1, in igmp_report_packet()
435 hop_limit: 1, in igmp_leave_packet()
Dsixlowpan.rs217 hop_limit: iphc_repr.hop_limit, in decompress_sixlowpan()
317 hop_limit: ip_repr.hop_limit(), in dispatch_ieee802154()
Dmod.rs137 hop_limit: 0, in new()
181 hop_limit: 0, in reset()
1644 hop_limit: 0xff, in lookup_hardware_addr()
/smoltcp-0.9.1/src/wire/
Dipv6.rs533 pub fn hop_limit(&self) -> u8 { in hop_limit() method
669 pub hop_limit: u8, field
685 hop_limit: packet.hop_limit(), in parse()
703 packet.set_hop_limit(self.hop_limit); in emit()
715 self.src_addr, self.dst_addr, self.next_header, self.hop_limit in fmt()
1084 hop_limit: 64, in packet_repr()
1098 assert_eq!(packet.hop_limit(), 0x40); in test_packet_deconstruction()
Dipv4.rs415 pub fn hop_limit(&self) -> u8 { in hop_limit() method
627 pub hop_limit: u8, field
661 hop_limit: packet.hop_limit(), in parse()
688 packet.set_hop_limit(self.hop_limit); in emit()
715 self.hop_limit() in fmt()
820 assert_eq!(packet.hop_limit(), 0x1a); in test_deconstruct()
890 hop_limit: 64, in packet_repr()
Dip.rs574 hop_limit: u8, in new()
583 hop_limit, in new()
591 hop_limit, in new()
659 pub const fn hop_limit(&self) -> u8 { in hop_limit() method
662 Repr::Ipv4(Ipv4Repr { hop_limit, .. }) => hop_limit, in hop_limit()
664 Repr::Ipv6(Ipv6Repr { hop_limit, .. }) => hop_limit, in hop_limit()
Dndisc.rs199 hop_limit: u8,
279 hop_limit: packet.current_hop_limit(), in parse()
408 hop_limit, in emit()
419 packet.set_current_hop_limit(hop_limit); in emit()
520 hop_limit: 64, in create_repr()
Dicmpv4.rs437 hop_limit: ip_packet.hop_limit(), in parse()
460 hop_limit: ip_packet.hop_limit(), in parse()
Dsixlowpan.rs605 pub fn hop_limit(&self) -> u8 { in hop_limit() method
1155 pub hop_limit: u8, field
1190 hop_limit: packet.hop_limit(), in parse()
1208 len += match self.hop_limit { in buffer_len()
1304 let idx = packet.set_hop_limit(self.hop_limit, idx); in emit()
1341 assert_eq!(packet.hop_limit(), 64); in iphc_fields()
1374 assert_eq!(packet.hop_limit(), 64); in iphc_fields()
Dicmpv6.rs567 hop_limit: ip_packet.hop_limit(), in parse()
800 hop_limit: 0x40, in too_big_packet_repr()
/smoltcp-0.9.1/benches/
Dbench.rs90 hop_limit: 64, in bench_emit_ipv4()
108 hop_limit: 64, in bench_emit_ipv6()