Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/net/netlabel/
Dnetlabel_kapi.c1276 struct ipv6hdr *hdr6; in netlbl_skbuff_setattr() local
1306 hdr6 = ipv6_hdr(skb); in netlbl_skbuff_setattr()
1308 &hdr6->daddr); in netlbl_skbuff_setattr()
Dnetlabel_unlabeled.c1488 struct ipv6hdr *hdr6; in netlbl_unlabel_getattr() local
1491 hdr6 = ipv6_hdr(skb); in netlbl_unlabel_getattr()
1492 addr6 = netlbl_af6list_search(&hdr6->saddr, in netlbl_unlabel_getattr()
/Linux-v5.4/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()