Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
507 freq->flr_label = np->rcv_flowinfo & IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_opt_get()
519 if (sfl->fl->label == (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ipv6_flowlabel_opt_get()
566 if (freq->flr_label == (np->flow_label & IPV6_FLOWLABEL_MASK)) in ipv6_flowlabel_put()
567 np->flow_label &= ~IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_put()
628 if (freq->flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_get()
Dseg6_iptunnel.c117 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
Draw.c840 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
882 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
Dudp.c1388 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1439 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
Ddatagram.c77 if (np->sndflow && (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
Dip6_tunnel.c1494 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dtcp_ipv6.c172 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
Dip6_gre.c1108 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
/kernel/linux/linux-5.10/include/net/
Dipv6.h331 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
334 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
874 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
890 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
951 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
966 return fl6->flowlabel & IPV6_FLOWLABEL_MASK; in flowi6_get_flowlabel()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip6.c536 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
576 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_minisocks.c286 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c836 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c253 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
Dassociola.c645 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
/kernel/linux/linux-5.10/drivers/net/
Dgeneve.c1503 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
Dvxlan.c4061 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/kernel/linux/linux-5.10/net/core/
Dfilter.c4364 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()