Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/l2tp/
Dl2tp_ip6.c499 struct ip6_flowlabel *flowlabel = NULL; in l2tp_ip6_sendmsg() local
537 fl6.flowlabel = lsa->l2tp_flowinfo & IPV6_FLOWINFO_MASK; in l2tp_ip6_sendmsg()
538 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
539 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
540 if (flowlabel == NULL) in l2tp_ip6_sendmsg()
562 fl6.flowlabel = np->flow_label; in l2tp_ip6_sendmsg()
576 fl6_sock_release(flowlabel); in l2tp_ip6_sendmsg()
579 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
580 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
581 if (flowlabel == NULL) in l2tp_ip6_sendmsg()
[all …]
/Linux-v4.19/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.c43 u_int32_t flowlabel, mark; in ip6t_mangle_out() local
53 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); in ip6t_mangle_out()
62 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.c43 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in rpfilter_lookup_reverse6()
Dnft_fib_ipv6.c52 fl6->flowlabel = (*(__be32 *)iph) & IPV6_FLOWINFO_MASK; in nft_fib6_flowi_init()
/Linux-v4.19/net/ipv6/
Dseg6_iptunnel.c99 __be32 flowlabel = 0; in seg6_make_flowlabel() local
105 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
107 flowlabel = ip6_flowlabel(inner_hdr); in seg6_make_flowlabel()
109 return flowlabel; in seg6_make_flowlabel()
120 __be32 flowlabel; in seg6_do_srh_encap() local
130 flowlabel = seg6_make_flowlabel(net, skb, inner_hdr); in seg6_do_srh_encap()
144 flowlabel); in seg6_do_srh_encap()
147 ip6_flow_hdr(hdr, 0, flowlabel); in seg6_do_srh_encap()
352 fl6.flowlabel = ip6_flowinfo(hdr); in seg6_output()
Draw.c777 struct ip6_flowlabel *flowlabel = NULL; in rawv6_sendmsg() local
827 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in rawv6_sendmsg()
828 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
829 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
830 if (!flowlabel) in rawv6_sendmsg()
853 fl6.flowlabel = np->flow_label; in rawv6_sendmsg()
867 fl6_sock_release(flowlabel); in rawv6_sendmsg()
870 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
871 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
872 if (!flowlabel) in rawv6_sendmsg()
[all …]
Dudp.c1144 struct ip6_flowlabel *flowlabel = NULL; in udpv6_sendmsg() local
1245 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_sendmsg()
1246 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1247 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1248 if (!flowlabel) in udpv6_sendmsg()
1271 fl6.flowlabel = np->flow_label; in udpv6_sendmsg()
1295 fl6_sock_release(flowlabel); in udpv6_sendmsg()
1298 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
1299 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1300 if (!flowlabel) in udpv6_sendmsg()
[all …]
Ddatagram.c56 fl6->flowlabel = np->flow_label; in ip6_datagram_flow_key_init()
70 struct ip6_flowlabel *flowlabel = NULL; in ip6_datagram_dst_update() local
80 flowlabel = fl6_sock_lookup(sk, np->flow_label); in ip6_datagram_dst_update()
81 if (!flowlabel) in ip6_datagram_dst_update()
87 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); in ip6_datagram_dst_update()
112 fl6_sock_release(flowlabel); in ip6_datagram_dst_update()
831 if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
832 if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
837 fl6->flowlabel = IPV6_FLOWINFO_MASK & *(__be32 *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
Dinet6_connection_sock.c95 fl6->flowlabel = np->flow_label; in inet6_csk_route_socket()
96 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in inet6_csk_route_socket()
Dtcp_ipv6.c160 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
161 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
162 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
163 struct ip6_flowlabel *flowlabel; in tcp_v6_connect() local
164 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
165 if (!flowlabel) in tcp_v6_connect()
167 fl6_sock_release(flowlabel); in tcp_v6_connect()
213 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
499 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
858 fl6.flowlabel = label; in tcp_v6_send_response()
Dping.c122 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
Dip6_tunnel.c1104 fl6->flowlabel = ip6_make_flowinfo(dsfield, fl6->flowlabel); in ip6_tnl_xmit()
1217 ip6_make_flowlabel(net, skb, fl6->flowlabel, true, fl6)); in ip6_tnl_xmit()
1269 fl6.flowlabel = key->label; in ip4ip6_tnl_xmit()
1345 fl6.flowlabel = key->label; in ip6ip6_tnl_xmit()
1373 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ip6ip6_tnl_xmit()
1444 fl6->flowlabel = 0; in ip6_tnl_link_config()
1447 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6_tnl_link_config()
1449 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dip6_gre.c711 fl6->flowlabel |= ip6_flowlabel(ipv6h); in prepare_ip6gre_xmit_ipv6()
760 fl6->flowlabel = key->label; in __gre6_xmit()
988 fl6.flowlabel = key->label; in ip6erspan_tunnel_xmit()
1096 fl6->flowlabel = 0; in ip6gre_tnl_link_config_common()
1100 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1102 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1351 t->fl.u.ip6.flowlabel, in ip6gre_header()
Dicmp.c549 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
/Linux-v4.19/include/net/
Dipv6.h803 __be32 flowlabel, bool autolabel, in ip6_make_flowlabel() argument
811 flowlabel &= IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
813 if (flowlabel || in ip6_make_flowlabel()
817 return flowlabel; in ip6_make_flowlabel()
827 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
830 flowlabel |= IPV6_FLOWLABEL_STATELESS_FLAG; in ip6_make_flowlabel()
832 return flowlabel; in ip6_make_flowlabel()
850 __be32 flowlabel, bool autolabel, in ip6_make_flowlabel() argument
853 return flowlabel; in ip6_make_flowlabel()
877 __be32 flowlabel) in ip6_flow_hdr() argument
[all …]
Dflow.h144 __be32 flowlabel; member
/Linux-v4.19/net/dccp/
Dipv6.c203 fl6.flowlabel = 0; in dccp_v6_send_response()
829 fl6.flowlabel = usin->sin6_flowinfo & IPV6_FLOWINFO_MASK; in dccp_v6_connect()
830 IP6_ECN_flow_init(fl6.flowlabel); in dccp_v6_connect()
831 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
832 struct ip6_flowlabel *flowlabel; in dccp_v6_connect() local
833 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in dccp_v6_connect()
834 if (flowlabel == NULL) in dccp_v6_connect()
836 fl6_sock_release(flowlabel); in dccp_v6_connect()
869 np->flow_label = fl6.flowlabel; in dccp_v6_connect()
/Linux-v4.19/net/sctp/
Dipv6.c222 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in sctp_v6_xmit()
262 if (t->flowlabel & SCTP_FLOWLABEL_SET_MASK) in sctp_v6_get_dst()
263 fl6->flowlabel = htonl(t->flowlabel & SCTP_FLOWLABEL_VAL_MASK); in sctp_v6_get_dst()
265 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
266 struct ip6_flowlabel *flowlabel; in sctp_v6_get_dst() local
268 flowlabel = fl6_sock_lookup(sk, fl6->flowlabel); in sctp_v6_get_dst()
269 if (!flowlabel) in sctp_v6_get_dst()
271 fl6_sock_release(flowlabel); in sctp_v6_get_dst()
Dassociola.c118 asoc->flowlabel = sp->flowlabel; in sctp_association_init()
657 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
658 peer->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_assoc_add_peer()
660 peer->flowlabel = asoc->flowlabel; in sctp_assoc_add_peer()
Dsocket.c2664 trans->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2666 trans->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2675 t->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2677 t->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2679 asoc->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2681 asoc->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2683 sp->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2685 sp->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
5658 if (trans->flowlabel & SCTP_FLOWLABEL_SET_MASK) { in sctp_getsockopt_peer_addr_params()
5659 params.spp_ipv6_flowlabel = trans->flowlabel & in sctp_getsockopt_peer_addr_params()
[all …]
/Linux-v4.19/include/trace/events/
Dfib6.h45 __entry->tos = ip6_tclass(flp->flowlabel);
/Linux-v4.19/include/net/sctp/
Dstructs.h197 __u32 flowlabel; member
902 __u32 flowlabel; member
1799 __u32 flowlabel; member
/Linux-v4.19/drivers/net/ipvlan/
Dipvlan_core.c471 .flowlabel = ip6_flowinfo(ip6h), in ipvlan_process_v6_outbound()
814 .flowlabel = ip6_flowinfo(ip6h), in ipvlan_l3_rcv()

12