Home
last modified time | relevance | path

Searched refs:IPV6_FLOWLABEL_MASK (Results 1 – 15 of 15) 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 Dseg6_iptunnel.c132 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
H A Ddatagram.c84 (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
H A Dip6_tunnel.c1494 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
H A Dip6_gre.c1110 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.c6172 (nla_get_be32(tb[RTA_FLOWLABEL]) & ~IPV6_FLOWLABEL_MASK)) { in inet6_rtm_valid_getroute_req()
/linux/include/net/
H A Dipv6.h338 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
341 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
887 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
905 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
974 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
994 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/ipv4/
H A Dtcp_minisocks.c365 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/linux/net/dccp/
H A Dipv6.c
/linux/net/sctp/
H A Dipv6.c303 (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/vxlan/
H A Dvxlan_core.c4147 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/linux/net/core/
H A Dfilter.c4907 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()