/linux-6.6.21/net/xfrm/ |
D | xfrm_inout.h | 19 memset(XFRM_MODE_SKB_CB(skb)->flow_lbl, 0, in xfrm4_extract_header() 20 sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); in xfrm4_extract_header() 34 memcpy(XFRM_MODE_SKB_CB(skb)->flow_lbl, iph->flow_lbl, in xfrm6_extract_header() 35 sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); in xfrm6_extract_header() 47 memcpy(iph->flow_lbl, XFRM_MODE_SKB_CB(skb)->flow_lbl, in xfrm6_beet_make_header() 48 sizeof(iph->flow_lbl)); in xfrm6_beet_make_header()
|
D | xfrm_output.c | 336 memcpy(top_iph->flow_lbl, XFRM_MODE_SKB_CB(skb)->flow_lbl, in xfrm6_tunnel_encap_add() 337 sizeof(top_iph->flow_lbl)); in xfrm6_tunnel_encap_add()
|
/linux-6.6.21/net/ipv6/netfilter/ |
D | nf_dup_ipv6.c | 31 fl6.flowlabel = (__force __be32)(((iph->flow_lbl[0] & 0xF) << 16) | in nf_dup_ipv6_route() 32 (iph->flow_lbl[1] << 8) | iph->flow_lbl[2]); in nf_dup_ipv6_route()
|
/linux-6.6.21/net/6lowpan/ |
D | iphc.c | 510 hdr->flow_lbl[0] |= (ecn >> 2); in lowpan_iphc_tf_set_ecn() 522 hdr->flow_lbl[0] |= ((dscp & 0x03) << 6); in lowpan_iphc_tf_set_dscp() 537 hdr->flow_lbl[0] |= lbl[0] & 0x0f; in lowpan_iphc_tf_set_lbl() 538 memcpy(&hdr->flow_lbl[1], &lbl[1], 2); in lowpan_iphc_tf_set_lbl() 998 dscp = (hdr->priority << 2) | ((hdr->flow_lbl[0] & 0xc0) >> 6); in lowpan_iphc_get_tc() 1000 ecn = (hdr->flow_lbl[0] & 0x30); in lowpan_iphc_get_tc() 1010 return ((!(hdr->flow_lbl[0] & 0x0f)) && in lowpan_iphc_is_flow_lbl_zero() 1011 !hdr->flow_lbl[1] && !hdr->flow_lbl[2]); in lowpan_iphc_is_flow_lbl_zero() 1051 memcpy(&tf[0], &hdr->flow_lbl[0], 3); in lowpan_iphc_tf_compress() 1073 memcpy(&tf[1], &hdr->flow_lbl[0], 3); in lowpan_iphc_tf_compress()
|
/linux-6.6.21/net/ipv6/ |
D | ah6.c | 401 top_iph->flow_lbl[0] = 0; in ah6_output() 402 top_iph->flow_lbl[1] = 0; in ah6_output() 403 top_iph->flow_lbl[2] = 0; in ah6_output() 593 ip6h->flow_lbl[0] = 0; in ah6_input() 594 ip6h->flow_lbl[1] = 0; in ah6_input() 595 ip6h->flow_lbl[2] = 0; in ah6_input()
|
D | ip6mr.c | 2323 iph->flow_lbl[0] = 0; in ip6mr_get_route() 2324 iph->flow_lbl[1] = 0; in ip6mr_get_route() 2325 iph->flow_lbl[2] = 0; in ip6mr_get_route()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_icrc.c | 109 memset(ip6h->flow_lbl, 0xff, sizeof(ip6h->flow_lbl)); in rxe_icrc_hdr()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | lag.c | 61 memcpy(&ip6h->flow_lbl, &ah_attr->grh.flow_label, in rdma_build_skb() 62 sizeof(*ip6h->flow_lbl)); in rdma_build_skb()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | nat6to4.c | 97 .tos = (ip6->priority << 4) + (ip6->flow_lbl[0] >> 4), // u8 in sched_cls_ingress6_nat_6_prog() 232 .flow_lbl = {(ip4->tos & 0xF) << 4, 0, 0}, // __u8[3] in sched_cls_egress4_snat4_prog()
|
/linux-6.6.21/include/net/ |
D | erspan.h | 190 (ipv6_hdr(skb)->flow_lbl[0] >> 4); in erspan_build_header() 286 (ipv6_hdr(skb)->flow_lbl[0] >> 4); in erspan_build_header_v2()
|
/linux-6.6.21/samples/bpf/ |
D | tcp_tos_reflect_kern.c | 62 (hdr6->flow_lbl[0]) >> 4); in bpf_basertt()
|
D | xdp_tx_iptunnel_kern.c | 203 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
|
D | hbm_kern.h | 121 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_xdp.c | 199 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
|
D | test_xdp_loop.c | 195 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
|
D | test_xdp_dynptr.c | 218 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
|
D | test_xdp_noinline.c | 304 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in encap_v6()
|
/linux-6.6.21/include/uapi/linux/ |
D | ipv6.h | 128 __u8 flow_lbl[3]; member
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 308 .iph.flow_lbl = { 0xb, 0xee, 0xef }, 331 .iph.flow_lbl = { 0xb, 0xee, 0xef }, 354 .iph.flow_lbl = { 0x00, 0x00, 0x00 },
|
/linux-6.6.21/net/netfilter/ |
D | xt_ecn.c | 107 return (((ipv6_hdr(skb)->flow_lbl[0] >> 4) & XT_ECN_IP_MASK) == in match_ipv6()
|
/linux-6.6.21/net/core/ |
D | netpoll.c | 451 ip6h->flow_lbl[0] = 0; in netpoll_send_udp() 452 ip6h->flow_lbl[1] = 0; in netpoll_send_udp() 453 ip6h->flow_lbl[2] = 0; in netpoll_send_udp()
|
/linux-6.6.21/net/openvswitch/ |
D | actions.c | 447 ofl = nh->flow_lbl[0] << 16 | nh->flow_lbl[1] << 8 | nh->flow_lbl[2]; in set_ipv6_fl() 451 nh->flow_lbl[0] = (u8)(fl >> 16); in set_ipv6_fl() 452 nh->flow_lbl[1] = (u8)(fl >> 8); in set_ipv6_fl() 453 nh->flow_lbl[2] = (u8)fl; in set_ipv6_fl()
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 1380 memset(&iph->flow_lbl, 0, sizeof(iph->flow_lbl)); in ip_vs_tunnel_xmit_v6()
|
/linux-6.6.21/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 360 iph->flow_lbl[0] = (fltr->ip_data.tclass << 4) & 0xF0; in iavf_fill_fdir_ip6_hdr()
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | cm.c | 525 ip6h->flow_lbl[0] = cm_node->tos << 4; in irdma_form_uda_cm_frame() 526 ip6h->flow_lbl[1] = 0; in irdma_form_uda_cm_frame() 527 ip6h->flow_lbl[2] = 0; in irdma_form_uda_cm_frame() 3190 cm_info.tos = (ip6h->priority << 4) | (ip6h->flow_lbl[0] >> 4); in irdma_receive_ilq()
|