Lines Matching refs:ip6_hdr
192 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { in is_ipv6_fragment()
233 struct ip6_hdr *ip6 = (struct ip6_hdr *)packet; in check_packet()
297 struct ip6_hdr *ip6 = nullptr; in reassemble_packet()
327 struct ip6_hdr *ip6_orig = (struct ip6_hdr *)packet; in reassemble_packet()
337 ip6 = (struct ip6_hdr *)reassembled; in reassemble_packet()
415 struct ip6_hdr *ip6 = (struct ip6_hdr *)packet; in fix_udp_checksum()
526 struct ip6_hdr *ip6; in get_transport_checksum()
541 ip6 = (struct ip6_hdr *)packet; in get_transport_checksum()
656 ASSERT_EQ(sizeof(struct ip6_hdr), sizeof(v6_header)) << "Test IPv6 header: incorrect length\n"; in TEST_F()
670 udp = (struct udphdr *)(v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F()
695 ASSERT_TRUE(!is_ipv6_fragment((struct ip6_hdr *)reassembled, total_length)) in TEST_F()
712 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *)v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F()
730 ipv6_pseudo_header_checksum((struct ip6_hdr *)ip6, UDP_LEN, IPPROTO_UDP); in TEST_F()
870 struct ip6_hdr *ip6 = (struct ip6_hdr *)udp_ipv6; in TEST_F()