Home
last modified time | relevance | path

Searched refs:checksum_caps (Results 1 – 13 of 13) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dicmpv4.rs397 checksum_caps: &ChecksumCapabilities, in parse()
403 if checksum_caps.icmpv4.rx() && !packet.verify_checksum() { in parse()
485 pub fn emit<T>(&self, packet: &mut Packet<&mut T>, checksum_caps: &ChecksumCapabilities) in emit()
526 header.emit(&mut ip_packet, checksum_caps); in emit()
540 header.emit(&mut ip_packet, checksum_caps); in emit()
546 if checksum_caps.icmpv4.tx() { in emit()
Dudp.rs223 checksum_caps: &ChecksumCapabilities, in parse()
233 if checksum_caps.udp.rx() && !packet.verify_checksum(src_addr, dst_addr) { in parse()
276 checksum_caps: &ChecksumCapabilities, in emit()
285 if checksum_caps.udp.tx() { in emit()
Dipv4.rs634 checksum_caps: &ChecksumCapabilities, in parse()
641 if checksum_caps.ipv4.rx() && !packet.verify_checksum() { in parse()
675 checksum_caps: &ChecksumCapabilities, in emit()
693 if checksum_caps.ipv4.tx() { in emit()
768 let checksum_caps = ChecksumCapabilities::ignored(); in pretty_print() localVariable
772 Ok(ip_packet) => match Repr::parse(&ip_packet, &checksum_caps) { in pretty_print()
Dicmpv6.rs547 checksum_caps: &ChecksumCapabilities, in parse()
572 if checksum_caps.icmpv6.rx() && !packet.verify_checksum(src_addr, dst_addr) { in parse()
652 checksum_caps: &ChecksumCapabilities, in emit()
739 if checksum_caps.icmpv6.tx() { in emit()
Dtcp.rs795 checksum_caps: &ChecksumCapabilities, in parse()
808 if checksum_caps.tcp.rx() && !packet.verify_checksum(src_addr, dst_addr) { in parse()
920 checksum_caps: &ChecksumCapabilities, in emit()
964 if checksum_caps.tcp.tx() { in emit()
Dip.rs815 let checksum_caps = ChecksumCapabilities::ignored(); in pretty_print_ip_payload() localVariable
832 &checksum_caps, in pretty_print_ip_payload()
860 &checksum_caps, in pretty_print_ip_payload()
Dsixlowpan.rs1957 checksum_caps: &ChecksumCapabilities, in parse()
1965 if checksum_caps.udp.rx() { in parse()
/smoltcp-0.9.1/src/socket/
Draw.rs306 ip_repr.emit(&mut buf[..header_len], &cx.checksum_caps()); in process()
326 let _checksum_caps = &cx.checksum_caps(); in dispatch()
Dicmp.rs391 &cx.checksum_caps(), in accepts()
410 &cx.checksum_caps(), in accepts()
/smoltcp-0.9.1/src/iface/interface/
Dipv6.rs65 &self.checksum_caps(), in process_nxt_hdr()
Dipv4.rs134 &self.checksum_caps(), in process_ipv4()
Dtests.rs1108 let checksum_caps = &caps.checksum; in test_handle_igmp() localVariable
1123 let ipv4_repr = Ipv4Repr::parse(&ipv4_packet, checksum_caps).ok()?; in test_handle_igmp()
Dmod.rs1056 pub(crate) fn checksum_caps(&self) -> ChecksumCapabilities { in checksum_caps() method