Lines Matching refs:ip6hdr
55 struct ipv6hdr ip6hdr; in bpf_lwt_encap_gre6() member
62 hdr.ip6hdr.version = 6; in bpf_lwt_encap_gre6()
63 hdr.ip6hdr.payload_len = bpf_htons(skb->len + sizeof(struct grehdr)); in bpf_lwt_encap_gre6()
64 hdr.ip6hdr.nexthdr = 47; /* IPPROTO_GRE */ in bpf_lwt_encap_gre6()
65 hdr.ip6hdr.hop_limit = 0x40; in bpf_lwt_encap_gre6()
67 hdr.ip6hdr.saddr.s6_addr[0] = 0xfb; in bpf_lwt_encap_gre6()
68 hdr.ip6hdr.saddr.s6_addr[1] = 1; in bpf_lwt_encap_gre6()
69 hdr.ip6hdr.saddr.s6_addr[15] = 1; in bpf_lwt_encap_gre6()
71 hdr.ip6hdr.daddr.s6_addr[0] = 0xfb; in bpf_lwt_encap_gre6()
72 hdr.ip6hdr.daddr.s6_addr[1] = 0x10; in bpf_lwt_encap_gre6()
73 hdr.ip6hdr.daddr.s6_addr[15] = 1; in bpf_lwt_encap_gre6()