Home
last modified time | relevance | path

Searched refs:flow_lbl (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/net/xfrm/
Dxfrm_inout.h19 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()
Dxfrm_output.c337 memcpy(top_iph->flow_lbl, XFRM_MODE_SKB_CB(skb)->flow_lbl, in xfrm6_tunnel_encap_add()
338 sizeof(top_iph->flow_lbl)); in xfrm6_tunnel_encap_add()
Dxfrm_state.c2820 iph6->flow_lbl[0] & 0x0f, in xfrm_audit_helper_pktinfo()
2821 iph6->flow_lbl[1], in xfrm_audit_helper_pktinfo()
2822 iph6->flow_lbl[2]); in xfrm_audit_helper_pktinfo()
/linux-6.1.9/net/ipv6/netfilter/
Dnf_dup_ipv6.c31 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.1.9/net/6lowpan/
Diphc.c510 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.1.9/net/ipv6/
Dah6.c401 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()
Dip6mr.c2333 iph->flow_lbl[0] = 0; in ip6mr_get_route()
2334 iph->flow_lbl[1] = 0; in ip6mr_get_route()
2335 iph->flow_lbl[2] = 0; in ip6mr_get_route()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_icrc.c109 memset(ip6h->flow_lbl, 0xff, sizeof(ip6h->flow_lbl)); in rxe_icrc_hdr()
/linux-6.1.9/drivers/infiniband/core/
Dlag.c61 memcpy(&ip6h->flow_lbl, &ah_attr->grh.flow_label, in rdma_build_skb()
62 sizeof(*ip6h->flow_lbl)); in rdma_build_skb()
/linux-6.1.9/tools/testing/selftests/net/bpf/
Dnat6to4.c97 .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.1.9/include/net/
Derspan.h190 (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.1.9/samples/bpf/
Dtcp_tos_reflect_kern.c62 (hdr6->flow_lbl[0]) >> 4); in bpf_basertt()
Dxdp_tx_iptunnel_kern.c203 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
Dhbm_kern.h121 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_loop.c195 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
Dtest_xdp.c199 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
Dtest_xdp_noinline.c304 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in encap_v6()
/linux-6.1.9/include/uapi/linux/
Dipv6.h127 __u8 flow_lbl[3]; member
/linux-6.1.9/net/netfilter/
Dxt_ecn.c107 return (((ipv6_hdr(skb)->flow_lbl[0] >> 4) & XT_ECN_IP_MASK) == in match_ipv6()
/linux-6.1.9/net/core/
Dnetpoll.c434 ip6h->flow_lbl[0] = 0; in netpoll_send_udp()
435 ip6h->flow_lbl[1] = 0; in netpoll_send_udp()
436 ip6h->flow_lbl[2] = 0; in netpoll_send_udp()
/linux-6.1.9/net/openvswitch/
Dactions.c445 ofl = nh->flow_lbl[0] << 16 | nh->flow_lbl[1] << 8 | nh->flow_lbl[2]; in set_ipv6_fl()
449 nh->flow_lbl[0] = (u8)(fl >> 16); in set_ipv6_fl()
450 nh->flow_lbl[1] = (u8)(fl >> 8); in set_ipv6_fl()
451 nh->flow_lbl[2] = (u8)fl; in set_ipv6_fl()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c308 .iph.flow_lbl = { 0xb, 0xee, 0xef },
331 .iph.flow_lbl = { 0xb, 0xee, 0xef },
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c289 iph->flow_lbl[0] = (fltr->ip_data.tclass << 4) & 0xF0; in iavf_fill_fdir_ip6_hdr()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_xmit.c1402 memset(&iph->flow_lbl, 0, sizeof(iph->flow_lbl)); in ip_vs_tunnel_xmit_v6()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dcm.c525 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()
3137 cm_info.tos = (ip6h->priority << 4) | (ip6h->flow_lbl[0] >> 4); in irdma_receive_ilq()

12