Home
last modified time | relevance | path

Searched refs:IPV6_FLOWLABEL_MASK (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/net/ipv6/
Dip6_flowlabel.c218 fl->label = label & IPV6_FLOWLABEL_MASK; in fl_intern()
223 fl->label = htonl(prandom_u32())&IPV6_FLOWLABEL_MASK; in fl_intern()
264 label &= IPV6_FLOWLABEL_MASK; in __fl6_sock_lookup()
506 freq->flr_label = np->rcv_flowinfo & IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_opt_get()
518 if (sfl->fl->label == (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ipv6_flowlabel_opt_get()
571 if (freq.flr_label == (np->flow_label&IPV6_FLOWLABEL_MASK)) in ipv6_flowlabel_opt()
572 np->flow_label &= ~IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_opt()
620 if (freq.flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_opt()
Dseg6_iptunnel.c100 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
Draw.c836 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
878 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
Dudp.c1327 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1379 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
Ddatagram.c76 if (np->sndflow && (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
Dtcp_ipv6.c171 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
Dip6_tunnel.c1439 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dip6_gre.c1090 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
/Linux-v5.4/include/net/
Dipv6.h331 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
334 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
869 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
885 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
947 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
962 return fl6->flowlabel & IPV6_FLOWLABEL_MASK; in flowi6_get_flowlabel()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dbpf_flow.c85 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF) macro
88 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
/Linux-v5.4/net/l2tp/
Dl2tp_ip6.c537 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
578 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
/Linux-v5.4/net/ipv4/
Dtcp_minisocks.c286 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/Linux-v5.4/net/dccp/
Dipv6.c831 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
/Linux-v5.4/net/sctp/
Dipv6.c252 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
Dassociola.c638 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
/Linux-v5.4/drivers/net/
Dgeneve.c1422 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
Dvxlan.c3769 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/Linux-v5.4/net/core/
Dfilter.c3985 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()