Home
last modified time | relevance | path

Searched refs:hdr6 (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/wireguard/selftest/
H A Dratelimiter.c34 struct sk_buff *skb6, struct ipv6hdr *hdr6, in timings_test() argument
67 hdr6->saddr.in6_u.u6_addr32[2] = htonl(i); in timings_test()
68 hdr6->saddr.in6_u.u6_addr32[3] = htonl(i); in timings_test()
77 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test()
78 htonl(ntohl(hdr6->saddr.in6_u.u6_addr32[0]) + i + 1); in timings_test()
86 hdr6->saddr.in6_u.u6_addr32[0] = in timings_test()
87 htonl(ntohl(hdr6->saddr.in6_u.u6_addr32[0]) - i - 1); in timings_test()
125 struct ipv6hdr *hdr6 = NULL; in wg_ratelimiter_selftest() local
163 hdr6 = (struct ipv6hdr *)skb_put(skb6, sizeof(*hdr6)); in wg_ratelimiter_selftest()
164 hdr6->saddr.in6_u.u6_addr32[0] = htonl(1212); in wg_ratelimiter_selftest()
[all …]
/linux/samples/bpf/
H A Dtcp_tos_reflect_kern.c27 struct ipv6hdr *hdr6; in bpf_basertt() local
60 hdr6 = (struct ipv6hdr *) header; in bpf_basertt()
61 tos = ((hdr6->priority) << 4 | in bpf_basertt()
62 (hdr6->flow_lbl[0]) >> 4); in bpf_basertt()
/linux/net/netlabel/
H A Dnetlabel_kapi.c1310 struct ipv6hdr *hdr6; in netlbl_skbuff_setattr() local
1340 hdr6 = ipv6_hdr(skb); in netlbl_skbuff_setattr()
1342 &hdr6->daddr); in netlbl_skbuff_setattr()
H A Dnetlabel_unlabeled.c1495 struct ipv6hdr *hdr6; in netlbl_unlabel_getattr() local
1498 hdr6 = ipv6_hdr(skb); in netlbl_unlabel_getattr()
1499 addr6 = netlbl_af6list_search(&hdr6->saddr, in netlbl_unlabel_getattr()
/linux/net/mpls/
H A Daf_mpls.c318 struct ipv6hdr *hdr6 = ipv6_hdr(skb); in mpls_egress() local
328 hdr6->hop_limit = dec.ttl; in mpls_egress()
329 else if (hdr6->hop_limit) in mpls_egress()
330 hdr6->hop_limit = hdr6->hop_limit - 1; in mpls_egress()