Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_flowlabel.c218 fl->label = label & IPV6_FLOWLABEL_MASK; in fl_intern()
223 fl->label = htonl(prandom_u32())&IPV6_FLOWLABEL_MASK; in fl_intern()
264 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()
628 if (freq->flr_label & ~IPV6_FLOWLABEL_MASK) in ipv6_flowlabel_get()
H A Dseg6_iptunnel.c117 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
H A Draw.c836 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
878 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
H A Dudp.c1388 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1439 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
H A Ddatagram.c77 if (np->sndflow && (np->flow_label & IPV6_FLOWLABEL_MASK)) { in ip6_datagram_dst_update()
H A Dtcp_ipv6.c172 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
H A Dip6_tunnel.c1494 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
H A Dip6_gre.c1117 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
/OK3568_Linux_fs/kernel/include/net/
H A Dipv6.h331 #define IPV6_FLOWLABEL_MASK cpu_to_be32(0x000FFFFF) macro
334 #define IPV6_TCLASS_MASK (IPV6_FLOWINFO_MASK & ~IPV6_FLOWLABEL_MASK)
874 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
890 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
951 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
966 return fl6->flowlabel & IPV6_FLOWLABEL_MASK; in flowi6_get_flowlabel()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c85 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF) macro
88 return *(__be32 *)hdr & IPV6_FLOWLABEL_MASK; in ip6_flowlabel()
/OK3568_Linux_fs/kernel/net/l2tp/
H A Dl2tp_ip6.c537 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
577 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_minisocks.c286 tw->tw_flowlabel = be32_to_cpu(np->flow_label & IPV6_FLOWLABEL_MASK); in tcp_time_wait()
/OK3568_Linux_fs/kernel/net/dccp/
H A Dipv6.c836 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
/OK3568_Linux_fs/kernel/net/sctp/
H A Dipv6.c253 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
H A Dassociola.c644 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dgeneve.c1506 IPV6_FLOWLABEL_MASK; in geneve_nl2info()
H A Dvxlan.c4061 IPV6_FLOWLABEL_MASK; in vxlan_nl2conf()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c4350 IPV6_FLOWLABEL_MASK; in BPF_CALL_4()