Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Dip6_flowlabel.c218 fl->label = label & IPV6_FLOWLABEL_MASK; in fl_intern()
223 fl->label = htonl(get_random_u32())&IPV6_FLOWLABEL_MASK; in fl_intern()
264 label &= IPV6_FLOWLABEL_MASK; in __fl6_sock_lookup()
509 freq->flr_label = np->rcv_flowinfo & IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_opt_get()
521 if (sfl->fl->label == (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ipv6_flowlabel_opt_get()
568 if (freq->flr_label == (np->flow_label & IPV6_FLOWLABEL_MASK)) in ipv6_flowlabel_put()
569 np->flow_label &= ~IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_put()
630 if (freq->flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_get()
Draw.c806 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
848 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
Dseg6_iptunnel.c120 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
Dudp.c1438 if (fl6->flowlabel & IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1489 if ((fl6->flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
Ddatagram.c82 if (np->sndflow && (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
Dip6_tunnel.c1468 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dtcp_ipv6.c173 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
Dip6_gre.c1139 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
/linux-6.1.9/include/net/
Dipv6.h345 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
348 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
932 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
948 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
1017 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
1037 return fl6->flowlabel & IPV6_FLOWLABEL_MASK; in flowi6_get_flowlabel()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_flow.c86 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF) macro
89 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
/linux-6.1.9/net/l2tp/
Dl2tp_ip6.c539 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
579 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
/linux-6.1.9/net/ipv4/
Dtcp_minisocks.c279 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/linux-6.1.9/net/dccp/
Dipv6.c846 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
/linux-6.1.9/net/sctp/
Dipv6.c301 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
Dassociola.c650 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
/linux-6.1.9/drivers/net/
Dgeneve.c1542 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
/linux-6.1.9/drivers/net/vxlan/
Dvxlan_core.c3960 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/linux-6.1.9/net/core/
Dfilter.c4671 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()