Searched refs:ip6h (Results 1 – 2 of 2) sorted by relevance
212 struct ip6_hdr ip6h; in send_dad() member218 .ip6h = { in send_dad()258 uint32_t csum = dad_pkt.ip6h.ip6_plen + htons(dad_pkt.ip6h.ip6_nxt); in send_dad()259 csum = ip_checksum_add(csum, &dad_pkt.ip6h.ip6_src, sizeof(dad_pkt) - 8); in send_dad()264 .sin6_addr = dad_pkt.ip6h.ip6_dst, in send_dad()
89 struct ipv6hdr* ip6h = (void*)(eth + 1); in DEFINE_BPF_MAP_GRW() local94 if (ip6h->version != 6) return; in DEFINE_BPF_MAP_GRW()96 src_ip = ip6h->saddr; in DEFINE_BPF_MAP_GRW()97 dst_ip = ip6h->daddr; in DEFINE_BPF_MAP_GRW()98 protocol = ip6h->nexthdr; in DEFINE_BPF_MAP_GRW()99 old_first_be32 = *(__be32*)ip6h; in DEFINE_BPF_MAP_GRW()