Lines Matching refs:ip6_hdr
184 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { in is_ipv6_fragment()
225 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in check_packet()
289 struct ip6_hdr *ip6 = NULL; in reassemble_packet()
319 struct ip6_hdr *ip6_orig = (struct ip6_hdr *) packet; in reassemble_packet()
329 ip6 = (struct ip6_hdr *) reassembled; in reassemble_packet()
408 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in fix_udp_checksum()
520 struct ip6_hdr *ip6; in get_transport_checksum()
535 ip6 = (struct ip6_hdr *) packet; in get_transport_checksum()
748 ASSERT_EQ(sizeof(struct ip6_hdr), sizeof(v6_header)) << "Test IPv6 header: incorrect length\n"; in TEST_F()
762 udp = (struct udphdr *) (v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F()
787 ASSERT_TRUE(!is_ipv6_fragment((struct ip6_hdr *) reassembled, total_length)) in TEST_F()
804 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *) v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F()
821 uint32_t ipv6_pseudo_sum = ipv6_pseudo_header_checksum((struct ip6_hdr *) ip6, UDP_LEN, in TEST_F()
931 struct ip6_hdr *ip6 = (struct ip6_hdr *) udp_ipv6; in TEST_F()