Home
last modified time | relevance | path

Searched refs:verify_checksum (Results 1 – 7 of 7) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dudp.rs113 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()
Digmp.rs122 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()
Dicmpv6.rs358 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()
Dicmpv4.rs277 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()
Dipv4.rs452 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()
Dtcp.rs337 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()
Dip.rs844 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()