Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv6/
H A 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()
H A Draw.c800 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
842 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
H A Dseg6_iptunnel.c120 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
H A Dudp.c1445 if (fl6->flowlabel & IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1498 if ((fl6->flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
H A Ddatagram.c83 if (np->sndflow && (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
H A Dip6_tunnel.c1481 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
H A Dtcp_ipv6.c167 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
H A Dip6_gre.c1123 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
/openbmc/linux/include/net/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c86 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF) macro
89 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
/openbmc/linux/net/l2tp/
H A 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()
/openbmc/linux/net/ipv4/
H A Dtcp_minisocks.c313 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/openbmc/linux/net/dccp/
H A Dipv6.c848 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
/openbmc/linux/net/sctp/
H A Dipv6.c301 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
H A Dassociola.c649 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
/openbmc/linux/drivers/net/
H A Dgeneve.c1554 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c4028 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/openbmc/linux/net/core/
H A Dfilter.c4832 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()