Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dip6_flowlabel.c213 fl->label = label & IPV6_FLOWLABEL_MASK; in fl_intern()
219 fl->label = htonl(get_random_u32())&IPV6_FLOWLABEL_MASK; in fl_intern()
261 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()
626 if (freq->flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_get()
H A Draw.c805 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
847 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
H A Dfib6_rules.c405 if (flowlabel_mask & ~IPV6_FLOWLABEL_MASK) { in fib6_nl2rule_flowlabel()
H A Dseg6_iptunnel.c121 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
H A Dudp.c1590 if (fl6->flowlabel & IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1643 if ((fl6->flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
H A Ddatagram.c84 (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
H A Dip6_tunnel.c1487 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
H A Dip6_gre.c1109 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
H A Dtcp_ipv6.c162 if (fl6->flowlabel & IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
H A Droute.c6161 (nla_get_be32(tb[RTA_FLOWLABEL]) & ~IPV6_FLOWLABEL_MASK)) { in inet6_rtm_valid_getroute_req()
/linux/include/net/
H A Dipv6.h335 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
338 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
884 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
902 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
971 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
991 return fl6->flowlabel & IPV6_FLOWLABEL_MASK; in flowi6_get_flowlabel()
/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()
/linux/net/l2tp/
H A Dl2tp_ip6.c563 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
603 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
/linux/net/ipv4/
H A Dtcp_minisocks.c366 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/linux/net/sctp/
H A Dipv6.c301 (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()
/linux/drivers/net/
H A Dgeneve.c1994 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c4150 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/linux/net/core/
H A Dfilter.c4906 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()