Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireguard/selftest/
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-6.1.9/samples/bpf/
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-6.1.9/net/netlabel/
Dnetlabel_kapi.c1284 struct ipv6hdr *hdr6; in netlbl_skbuff_setattr() local
1314 hdr6 = ipv6_hdr(skb); in netlbl_skbuff_setattr()
1316 &hdr6->daddr); in netlbl_skbuff_setattr()
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-6.1.9/net/mpls/
Daf_mpls.c317 struct ipv6hdr *hdr6 = ipv6_hdr(skb); in mpls_egress() local
327 hdr6->hop_limit = dec.ttl; in mpls_egress()
328 else if (hdr6->hop_limit) in mpls_egress()
329 hdr6->hop_limit = hdr6->hop_limit - 1; in mpls_egress()