Searched refs:caps (Results 1 – 7 of 7) sorted by relevance
/smoltcp-0.9.1/src/iface/interface/ |
D | mod.rs | 236 caps: DeviceCapabilities, field 361 caps: &DeviceCapabilities, in emit_payload() 366 icmpv4_repr.emit(&mut Icmpv4Packet::new_unchecked(payload), &caps.checksum) in emit_payload() 377 &caps.checksum, in emit_payload() 388 &caps.checksum, in emit_payload() 399 if let Some(max_burst_size) = caps.max_burst_size { in emit_payload() 400 let mut max_segment_size = caps.max_transmission_unit; in emit_payload() 414 &caps.checksum, in emit_payload() 424 &caps.checksum, in emit_payload() 475 let caps = device.capabilities(); in new() localVariable [all …]
|
D | ipv4.rs | 20 let ipv4_repr = check!(Ipv4Repr::parse(ipv4_packet, &self.caps.checksum)); in process_ipv4() 93 &self.caps.checksum in process_ipv4() 242 let icmp_repr = check!(Icmpv4Repr::parse(&icmp_packet, &self.caps.checksum)); in process_icmpv4() 334 let caps = self.caps.clone(); in dispatch_ipv4_frag() localVariable 346 if matches!(caps.medium, Medium::Ethernet) { in dispatch_ipv4_frag() 369 if matches!(self.caps.medium, Medium::Ethernet) { in dispatch_ipv4_frag() 376 frag.ipv4.repr.emit(&mut packet, &caps.checksum); in dispatch_ipv4_frag() 382 if caps.checksum.ipv4.tx() { in dispatch_ipv4_frag()
|
D | ipv6.rs | 116 &self.caps.checksum, in process_icmpv6() 190 let lladdr = check!(lladdr.parse(self.caps.medium)); in process_ndisc() 216 let lladdr = check!(lladdr.parse(self.caps.medium)); in process_ndisc()
|
D | sixlowpan.rs | 405 &self.caps.checksum, in dispatch_ieee802154() 416 &self.caps.checksum, in dispatch_ieee802154() 519 &self.caps.checksum, in dispatch_ieee802154() 530 &self.caps.checksum, in dispatch_ieee802154()
|
D | tests.rs | 1107 let caps = device.capabilities(); in test_handle_igmp() localVariable 1108 let checksum_caps = &caps.checksum; in test_handle_igmp() 1112 let ipv4_packet = match caps.medium { in test_handle_igmp() 1375 iface.inner.caps.checksum.icmpv6 = Checksum::None; in test_echo_request_sixlowpan_128_bytes() 1377 assert_eq!(iface.inner.caps.medium, Medium::Ieee802154); in test_echo_request_sixlowpan_128_bytes() 1580 iface.inner.caps.checksum.udp = Checksum::None; in test_sixlowpan_udp_with_fragmentation()
|
/smoltcp-0.9.1/src/phy/ |
D | fuzz_injector.rs | 57 let mut caps = self.inner.capabilities(); in capabilities() localVariable 58 if caps.max_transmission_unit > MTU { in capabilities() 59 caps.max_transmission_unit = MTU; in capabilities() 61 caps in capabilities()
|
D | fault_injector.rs | 205 let mut caps = self.inner.capabilities(); in capabilities() localVariable 206 if caps.max_transmission_unit > MTU { in capabilities() 207 caps.max_transmission_unit = MTU; in capabilities() 209 caps in capabilities()
|