Home
last modified time | relevance | path

Searched refs:flowlabel (Results 1 – 24 of 24) sorted by relevance

/linux-4.4.14/net/l2tp/
Dl2tp_ip6.c493 struct ip6_flowlabel *flowlabel = NULL; in l2tp_ip6_sendmsg() local
530 fl6.flowlabel = lsa->l2tp_flowinfo & IPV6_FLOWINFO_MASK; in l2tp_ip6_sendmsg()
531 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
532 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
533 if (flowlabel == NULL) in l2tp_ip6_sendmsg()
555 fl6.flowlabel = np->flow_label; in l2tp_ip6_sendmsg()
569 fl6_sock_release(flowlabel); in l2tp_ip6_sendmsg()
572 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
573 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
574 if (flowlabel == NULL) in l2tp_ip6_sendmsg()
[all …]
/linux-4.4.14/net/ipv6/netfilter/
Dnft_chain_route_ipv6.c33 u32 mark, flowlabel; in nf_route_table_hook() local
46 flowlabel = *((u32 *)ipv6_hdr(skb)); in nf_route_table_hook()
54 flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) in nf_route_table_hook()
Dip6table_mangle.c40 u_int32_t flowlabel, mark; in ip6t_mangle_out() local
58 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); in ip6t_mangle_out()
67 flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) { in ip6t_mangle_out()
Dnf_dup_ipv6.c34 fl6.flowlabel = (__force __be32)(((iph->flow_lbl[0] & 0xF) << 16) | in nf_dup_ipv6_route()
Dip6t_rpfilter.c37 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in rpfilter_lookup_reverse6()
DKconfig42 fields such as the source, destination, flowlabel, hop-limit and
/linux-4.4.14/net/ipv6/
Draw.c744 struct ip6_flowlabel *flowlabel = NULL; in rawv6_sendmsg() local
792 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in rawv6_sendmsg()
793 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
794 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
795 if (!flowlabel) in rawv6_sendmsg()
818 fl6.flowlabel = np->flow_label; in rawv6_sendmsg()
832 fl6_sock_release(flowlabel); in rawv6_sendmsg()
835 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
836 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
837 if (!flowlabel) in rawv6_sendmsg()
[all …]
Ddatagram.c51 struct ip6_flowlabel *flowlabel = NULL; in __ip6_datagram_connect() local
71 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in __ip6_datagram_connect()
72 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in __ip6_datagram_connect()
73 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in __ip6_datagram_connect()
74 if (!flowlabel) in __ip6_datagram_connect()
148 np->flow_label = fl6.flowlabel; in __ip6_datagram_connect()
174 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); in __ip6_datagram_connect()
209 fl6_sock_release(flowlabel); in __ip6_datagram_connect()
768 if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
769 if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
[all …]
Dudp.c1112 struct ip6_flowlabel *flowlabel = NULL; in udpv6_sendmsg() local
1207 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_sendmsg()
1208 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1209 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1210 if (!flowlabel) in udpv6_sendmsg()
1233 fl6.flowlabel = np->flow_label; in udpv6_sendmsg()
1253 fl6_sock_release(flowlabel); in udpv6_sendmsg()
1256 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
1257 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1258 if (!flowlabel) in udpv6_sendmsg()
[all …]
Dinet6_connection_sock.c131 fl6->flowlabel = np->flow_label; in inet6_csk_route_socket()
132 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in inet6_csk_route_socket()
Dtcp_ipv6.c137 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
138 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
139 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
140 struct ip6_flowlabel *flowlabel; in tcp_v6_connect() local
141 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
142 if (!flowlabel) in tcp_v6_connect()
144 fl6_sock_release(flowlabel); in tcp_v6_connect()
186 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
464 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
801 fl6.flowlabel = label; in tcp_v6_send_response()
Dip6_gre.c729 ip6_make_flowlabel(net, skb, fl6->flowlabel, true, fl6)); in ip6gre_xmit2()
792 fl6.flowlabel |= htonl((__u32)iph->tos << IPV6_TCLASS_SHIFT) in ip6gre_xmit_ipv4()
841 fl6.flowlabel |= (*(__be32 *) ipv6h & IPV6_TCLASS_MASK); in ip6gre_xmit_ipv6()
843 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ip6gre_xmit_ipv6()
946 fl6->flowlabel = 0; in ip6gre_tnl_link_config()
949 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6gre_tnl_link_config()
951 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config()
1183 t->fl.u.ip6.flowlabel, true, in ip6gre_header()
Dip6_tunnel.c1156 ip6_make_flowlabel(net, skb, fl6->flowlabel, true, fl6)); in ip6_tnl_xmit2()
1198 fl6.flowlabel |= htonl((__u32)iph->tos << IPV6_TCLASS_SHIFT) in ip4ip6_tnl_xmit()
1251 fl6.flowlabel |= (*(__be32 *) ipv6h & IPV6_TCLASS_MASK); in ip6ip6_tnl_xmit()
1253 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ip6ip6_tnl_xmit()
1310 fl6->flowlabel = 0; in ip6_tnl_link_config()
1313 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6_tnl_link_config()
1315 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dfib6_rules.c184 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match()
Daf_inet6.c660 fl6.flowlabel = np->flow_label; in inet6_sk_rebuild_header()
Dip6_output.c213 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit()
1666 ip6_make_flowlabel(net, skb, fl6->flowlabel, in __ip6_make_skb()
Droute.c1159 .flowlabel = ip6_flowinfo(iph), in ip6_route_input()
1400 fl6.flowlabel = ip6_flowinfo(iph); in ip6_update_pmtu()
1505 fl6.flowlabel = ip6_flowinfo(iph); in ip6_redirect()
/linux-4.4.14/include/net/
Dipv6.h742 __be32 flowlabel, bool autolabel, in ip6_make_flowlabel() argument
747 if (flowlabel || in ip6_make_flowlabel()
751 return flowlabel; in ip6_make_flowlabel()
761 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
764 flowlabel |= IPV6_FLOWLABEL_STATELESS_FLAG; in ip6_make_flowlabel()
766 return flowlabel; in ip6_make_flowlabel()
784 __be32 flowlabel, bool autolabel, in ip6_make_flowlabel() argument
787 return flowlabel; in ip6_make_flowlabel()
800 __be32 flowlabel) in ip6_flow_hdr() argument
802 *(__be32 *)hdr = htonl(0x60000000 | (tclass << 20)) | flowlabel; in ip6_flow_hdr()
Dflow.h138 __be32 flowlabel; member
/linux-4.4.14/net/dccp/
Dipv6.c198 fl6.flowlabel = 0; in dccp_v6_send_response()
785 fl6.flowlabel = usin->sin6_flowinfo & IPV6_FLOWINFO_MASK; in dccp_v6_connect()
786 IP6_ECN_flow_init(fl6.flowlabel); in dccp_v6_connect()
787 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
788 struct ip6_flowlabel *flowlabel; in dccp_v6_connect() local
789 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in dccp_v6_connect()
790 if (flowlabel == NULL) in dccp_v6_connect()
792 fl6_sock_release(flowlabel); in dccp_v6_connect()
825 np->flow_label = fl6.flowlabel; in dccp_v6_connect()
/linux-4.4.14/net/core/
Dflow_dissector.c707 keys.tags.flow_label = (__force u32)fl6->flowlabel; in __skb_get_hash_flowi6()
815 keys->tags.flow_label = (__force u32)fl6->flowlabel; in __get_hash_from_flowi6()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c395 .flowlabel = ip6_flowinfo(ip6h), in ipvlan_process_v6_outbound()
/linux-4.4.14/drivers/net/
Dvrf.c233 .flowlabel = ip6_flowinfo(iph), in vrf_process_v6_outbound()
/linux-4.4.14/net/sctp/
Dipv6.c217 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in sctp_v6_xmit()