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()
523 struct ip6_hdr *ip6; in get_transport_checksum()
538 ip6 = (struct ip6_hdr *) packet; in get_transport_checksum()
751 ASSERT_EQ(sizeof(struct ip6_hdr), sizeof(v6_header)) << "Test IPv6 header: incorrect length\n"; in TEST_F()
765 udp = (struct udphdr *) (v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F()
790 ASSERT_TRUE(!is_ipv6_fragment((struct ip6_hdr *) reassembled, total_length)) in TEST_F()
807 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *) v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F()
824 uint32_t ipv6_pseudo_sum = ipv6_pseudo_header_checksum((struct ip6_hdr *) ip6, UDP_LEN, in TEST_F()
935 struct ip6_hdr *ip6 = (struct ip6_hdr *) udp_ipv6; in TEST_F()