Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/ipv6/
Dxfrm6_state.c34 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()
Dah6.c404 top_iph->flow_lbl[0] = 0; in ah6_output()
405 top_iph->flow_lbl[1] = 0; in ah6_output()
406 top_iph->flow_lbl[2] = 0; in ah6_output()
595 ip6h->flow_lbl[0] = 0; in ah6_input()
596 ip6h->flow_lbl[1] = 0; in ah6_input()
597 ip6h->flow_lbl[2] = 0; in ah6_input()
Dip6mr.c2300 iph->flow_lbl[0] = 0; in ip6mr_get_route()
2301 iph->flow_lbl[1] = 0; in ip6mr_get_route()
2302 iph->flow_lbl[2] = 0; in ip6mr_get_route()
/Linux-v5.4/net/xfrm/
Dxfrm_inout.h15 memcpy(iph->flow_lbl, XFRM_MODE_SKB_CB(skb)->flow_lbl, in xfrm6_beet_make_header()
16 sizeof(iph->flow_lbl)); in xfrm6_beet_make_header()
Dxfrm_output.c253 memcpy(top_iph->flow_lbl, XFRM_MODE_SKB_CB(skb)->flow_lbl, in xfrm6_tunnel_encap_add()
254 sizeof(top_iph->flow_lbl)); in xfrm6_tunnel_encap_add()
Dxfrm_state.c2628 iph6->flow_lbl[0] & 0x0f, in xfrm_audit_helper_pktinfo()
2629 iph6->flow_lbl[1], in xfrm_audit_helper_pktinfo()
2630 iph6->flow_lbl[2]); in xfrm_audit_helper_pktinfo()
/Linux-v5.4/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-v5.4/net/ipv4/
Dxfrm4_state.c28 memset(XFRM_MODE_SKB_CB(skb)->flow_lbl, 0, in xfrm4_extract_header()
29 sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); in xfrm4_extract_header()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_icrc.c75 memset(ip6h->flow_lbl, 0xff, sizeof(ip6h->flow_lbl)); in rxe_icrc_hdr()
/Linux-v5.4/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-v5.4/include/net/
Derspan.h172 (ipv6_hdr(skb)->flow_lbl[0] >> 4); in erspan_build_header()
268 (ipv6_hdr(skb)->flow_lbl[0] >> 4); in erspan_build_header_v2()
/Linux-v5.4/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.h126 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_xdp.c201 memset(ip6h->flow_lbl, 0, sizeof(ip6h->flow_lbl)); in handle_ipv6()
Dtest_xdp_loop.c197 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-v5.4/include/uapi/linux/
Dipv6.h126 __u8 flow_lbl[3]; member
/Linux-v5.4/net/netfilter/
Dxt_ecn.c107 return (((ipv6_hdr(skb)->flow_lbl[0] >> 4) & XT_ECN_IP_MASK) == in match_ipv6()
/Linux-v5.4/net/core/
Dnetpoll.c412 ip6h->flow_lbl[0] = 0; in netpoll_send_udp()
413 ip6h->flow_lbl[1] = 0; in netpoll_send_udp()
414 ip6h->flow_lbl[2] = 0; in netpoll_send_udp()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c292 .iph.flow_lbl = { 0xb, 0xee, 0xef },
314 .iph.flow_lbl = { 0xb, 0xee, 0xef },
/Linux-v5.4/net/openvswitch/
Dactions.c428 OVS_SET_MASKED(nh->flow_lbl[0], (u8)(fl >> 16), (u8)(mask >> 16)); in set_ipv6_fl()
429 OVS_SET_MASKED(nh->flow_lbl[1], (u8)(fl >> 8), (u8)(mask >> 8)); in set_ipv6_fl()
430 OVS_SET_MASKED(nh->flow_lbl[2], (u8)fl, (u8)mask); in set_ipv6_fl()
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_xmit.c1402 memset(&iph->flow_lbl, 0, sizeof(iph->flow_lbl)); in ip_vs_tunnel_xmit_v6()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_cm.c476 ip6h->flow_lbl[0] = cm_node->tos << 4; in i40iw_form_cm_frame()
477 ip6h->flow_lbl[1] = 0; in i40iw_form_cm_frame()
478 ip6h->flow_lbl[2] = 0; in i40iw_form_cm_frame()
3182 cm_info.tos = (ip6h->priority << 4) | (ip6h->flow_lbl[0] >> 4); in i40iw_receive_ilq()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c645 case round_down(offsetof(struct ipv6hdr, flow_lbl), 4): in nfp_fl_set_ip6_hop_limit_flow_label()

12