Searched refs:verify_checksum (Results 1 – 7 of 7) sorted by relevance
/smoltcp-0.9.1/src/wire/ |
D | udp.rs | 113 pub fn verify_checksum(&self, src_addr: &IpAddress, dst_addr: &IpAddress) -> bool { in verify_checksum() method 233 if checksum_caps.udp.rx() && !packet.verify_checksum(src_addr, dst_addr) { in parse() 362 assert!(packet.verify_checksum(&SRC_ADDR.into(), &DST_ADDR.into())); in test_deconstruct() 408 assert!(packet.verify_checksum(&SRC_ADDR.into(), &DST_ADDR.into())); in test_no_checksum()
|
D | igmp.rs | 122 pub fn verify_checksum(&self) -> bool { in verify_checksum() method 390 assert!(packet.verify_checksum()); in test_leave_group_deconstruct() 403 assert!(packet.verify_checksum()); in test_report_deconstruct()
|
D | icmpv6.rs | 358 pub fn verify_checksum(&self, src_addr: &IpAddress, dst_addr: &IpAddress) -> bool { in verify_checksum() method 572 if checksum_caps.icmpv6.rx() && !packet.verify_checksum(src_addr, dst_addr) { in parse() 815 assert!(packet.verify_checksum(&MOCK_IP_ADDR_1, &MOCK_IP_ADDR_2)); in test_echo_deconstruct() 869 assert!(packet.verify_checksum(&MOCK_IP_ADDR_1, &MOCK_IP_ADDR_2)); in test_too_big_deconstruct()
|
D | icmpv4.rs | 277 pub fn verify_checksum(&self) -> bool { in verify_checksum() method 403 if checksum_caps.icmpv4.rx() && !packet.verify_checksum() { in parse() 655 assert!(packet.verify_checksum()); in test_echo_deconstruct()
|
D | ipv4.rs | 452 pub fn verify_checksum(&self) -> bool { in verify_checksum() method 641 if checksum_caps.ipv4.rx() && !packet.verify_checksum() { in parse() 786 format_checksum(f, ip_packet.verify_checksum())?; in pretty_print() 825 assert!(packet.verify_checksum()); in test_deconstruct()
|
D | tcp.rs | 337 pub fn verify_checksum(&self, src_addr: &IpAddress, dst_addr: &IpAddress) -> bool { in verify_checksum() method 808 if checksum_caps.tcp.rx() && !packet.verify_checksum(src_addr, dst_addr) { in parse() 1125 assert!(packet.verify_checksum(&SRC_ADDR.into(), &DST_ADDR.into())); in test_deconstruct()
|
D | ip.rs | 844 udp_packet.verify_checksum(&repr.src_addr(), &repr.dst_addr()); in pretty_print_ip_payload() 866 tcp_packet.verify_checksum(&repr.src_addr(), &repr.dst_addr()); in pretty_print_ip_payload()
|