ip6_hdr 383 net/batman-adv/main.c struct ipv6hdr ip6_hdr_tmp, *ip6_hdr; ip6_hdr 413 net/batman-adv/main.c ip6_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr), ip6_hdr 414 net/batman-adv/main.c sizeof(*ip6_hdr), &ip6_hdr_tmp); ip6_hdr 415 net/batman-adv/main.c if (!ip6_hdr) ip6_hdr 417 net/batman-adv/main.c prio = (ipv6_get_dsfield(ip6_hdr) & 0xfc) >> 5; ip6_hdr 1274 net/ipv6/calipso.c const struct ipv6hdr *ip6_hdr = ipv6_hdr(skb); ip6_hdr 1277 net/ipv6/calipso.c if (ip6_hdr->nexthdr != NEXTHDR_HOP) ip6_hdr 1280 net/ipv6/calipso.c offset = ipv6_find_tlv(skb, sizeof(*ip6_hdr), IPV6_TLV_CALIPSO); ip6_hdr 1282 net/ipv6/calipso.c return (unsigned char *)ip6_hdr + offset; ip6_hdr 1303 net/ipv6/calipso.c struct ipv6hdr *ip6_hdr; ip6_hdr 1309 net/ipv6/calipso.c ip6_hdr = ipv6_hdr(skb); ip6_hdr 1310 net/ipv6/calipso.c if (ip6_hdr->nexthdr == NEXTHDR_HOP) { ip6_hdr 1311 net/ipv6/calipso.c hop = (struct ipv6_opt_hdr *)(ip6_hdr + 1); ip6_hdr 1333 net/ipv6/calipso.c ip6_hdr = ipv6_hdr(skb); /* Reset as skb_cow() may have moved it */ ip6_hdr 1340 net/ipv6/calipso.c memmove((char *)ip6_hdr - len_delta, ip6_hdr, ip6_hdr 1341 net/ipv6/calipso.c sizeof(*ip6_hdr) + start); ip6_hdr 1343 net/ipv6/calipso.c ip6_hdr = ipv6_hdr(skb); ip6_hdr 1344 net/ipv6/calipso.c payload = ntohs(ip6_hdr->payload_len); ip6_hdr 1345 net/ipv6/calipso.c ip6_hdr->payload_len = htons(payload + len_delta); ip6_hdr 1348 net/ipv6/calipso.c hop = (struct ipv6_opt_hdr *)(ip6_hdr + 1); ip6_hdr 1352 net/ipv6/calipso.c new_hop->nexthdr = ip6_hdr->nexthdr; ip6_hdr 1354 net/ipv6/calipso.c ip6_hdr->nexthdr = NEXTHDR_HOP; ip6_hdr 1376 net/ipv6/calipso.c struct ipv6hdr *ip6_hdr; ip6_hdr 1388 net/ipv6/calipso.c ip6_hdr = ipv6_hdr(skb); ip6_hdr 1389 net/ipv6/calipso.c old_hop = (struct ipv6_opt_hdr *)(ip6_hdr + 1); ip6_hdr 1400 net/ipv6/calipso.c size = sizeof(*ip6_hdr); ip6_hdr 1401 net/ipv6/calipso.c ip6_hdr->nexthdr = old_hop->nexthdr; ip6_hdr 1407 net/ipv6/calipso.c size = sizeof(*ip6_hdr) + start + pad; ip6_hdr 1413 net/ipv6/calipso.c memmove((char *)ip6_hdr + delta, ip6_hdr, size); ip6_hdr 30 tools/testing/selftests/net/ip_defrag.c #define IP6_HLEN (sizeof(struct ip6_hdr)) ip6_hdr 117 tools/testing/selftests/net/ip_defrag.c static uint16_t udp6_checksum(struct ip6_hdr *iphdr, struct udphdr *udphdr) ip6_hdr 150 tools/testing/selftests/net/ip_defrag.c udphdr.check = udp6_checksum((struct ip6_hdr *)ip_frame, &udphdr); ip6_hdr 157 tools/testing/selftests/net/ip_defrag.c struct ip6_hdr *ip6hdr = (struct ip6_hdr *)ip_frame; ip6_hdr 207 tools/testing/selftests/net/ip_defrag.c struct ip6_hdr *ip6hdr = (struct ip6_hdr *)ip_frame; ip6_hdr 43 tools/testing/selftests/net/udpgso.c #define CONST_HDRLEN_V6 (sizeof(struct ip6_hdr) + sizeof(struct udphdr)) ip6_hdr 175 tools/testing/selftests/net/udpgso.c #define IP6_MAX_MTU (ETH_MAX_MTU + sizeof(struct ip6_hdr)) ip6_hdr 510 tools/testing/selftests/net/udpgso_bench_tx.c hdrlen = sizeof(struct ip6_hdr) + sizeof(struct udphdr);