Home
last modified time | relevance | path

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

/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()
266 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()
631 if (freq->flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_get()
H A Dfib6_rules.c405 if (flowlabel_mask & ~IPV6_FLOWLABEL_MASK) { in fib6_nl2rule_flowlabel()
H A Dseg6_iptunnel.c120 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
H A Dip6_tunnel.c1482 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
H A Dtcp_ipv6.c164 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
H A Dip6_gre.c1109 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
H A Droute.c6163 (nla_get_be32(tb[RTA_FLOWLABEL]) & ~IPV6_FLOWLABEL_MASK)) { in inet6_rtm_valid_getroute_req()
/linux/include/net/
H A Dipv6.h348 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
351 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
961 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
977 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
1046 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
1066 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/dccp/
H A Dipv6.c
/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/net/core/
H A Dfilter.c4898 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()