Lines Matching refs:check_packet
201 void check_packet(const uint8_t *packet, size_t len, const char *msg) { in check_packet() function
300 check_packet(packet, len, "Fragment sanity check"); in reassemble_packet()
438 check_packet(original, original_len, foo); in do_translate_packet()
474 check_packet(out, *outlen, msg); in do_translate_packet()
482 check_packet(out, *outlen, msg); in do_translate_packet()
510 check_packet(reassembled, reassembled_len, msg); in check_fragment_translation()
515 check_packet(translated, translated_len, msg); in check_fragment_translation()
759 check_packet(v4_udp_packet, sizeof(v4_udp_packet), "UDP/IPv4 packet sanity check"); in TEST_F()
765 check_packet(v6_udp_packet, sizeof(v6_udp_packet), "UDP/IPv6 packet sanity check"); in TEST_F()
768 check_packet(ipv4_ping, sizeof(ipv4_ping), "IPv4 ping sanity check"); in TEST_F()
771 check_packet(ipv6_ping, sizeof(ipv6_ping), "IPv6 ping sanity check"); in TEST_F()
778 check_packet(reassembled, total_length, "IPv4 Reassembled packet is valid"); in TEST_F()
789 check_packet(reassembled, total_length, "IPv6 Reassembled packet is valid"); in TEST_F()