Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv6/
Dip6_flowlabel.c218 fl->label = label & IPV6_FLOWLABEL_MASK; in fl_intern()
224 fl->label = htonl(get_random_u32())&IPV6_FLOWLABEL_MASK; in fl_intern()
267 label &= IPV6_FLOWLABEL_MASK; in __fl6_sock_lookup()
512 freq->flr_label = np->rcv_flowinfo & IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_opt_get()
524 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_put()
572 np->flow_label &= ~IPV6_FLOWLABEL_MASK; in ipv6_flowlabel_put()
633 if (freq->flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_get()
Draw.c800 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
842 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.c1432 if (fl6->flowlabel & IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1483 if ((fl6->flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
Ddatagram.c83 if (np->sndflow && (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
Dip6_tunnel.c1466 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dtcp_ipv6.c169 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
Dip6_gre.c1120 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
/Linux-v6.6/include/net/
Dipv6.h345 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
348 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
968 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
984 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
1053 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
1073 return fl6->flowlabel & IPV6_FLOWLABEL_MASK; in flowi6_get_flowlabel()
/Linux-v6.6/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-v6.6/net/l2tp/
Dl2tp_ip6.c533 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
573 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
/Linux-v6.6/net/ipv4/
Dtcp_minisocks.c313 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/Linux-v6.6/net/dccp/
Dipv6.c845 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
/Linux-v6.6/net/sctp/
Dipv6.c301 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
Dassociola.c648 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
/Linux-v6.6/drivers/net/
Dgeneve.c1537 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_core.c4004 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/Linux-v6.6/net/core/
Dfilter.c4720 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()