Home
last modified time | relevance | path

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

12

/net/l2tp/
Dl2tp_ip6.c497 struct ip6_flowlabel *flowlabel = NULL; in l2tp_ip6_sendmsg() local
533 fl6.flowlabel = lsa->l2tp_flowinfo & IPV6_FLOWINFO_MASK; in l2tp_ip6_sendmsg()
534 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
535 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
536 if (IS_ERR(flowlabel)) in l2tp_ip6_sendmsg()
557 fl6.flowlabel = np->flow_label; in l2tp_ip6_sendmsg()
571 fl6_sock_release(flowlabel); in l2tp_ip6_sendmsg()
574 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
575 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
576 if (IS_ERR(flowlabel)) in l2tp_ip6_sendmsg()
[all …]
/net/ipv6/
Draw.c780 struct ip6_flowlabel *flowlabel = NULL; in rawv6_sendmsg() local
840 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in rawv6_sendmsg()
841 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
842 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
843 if (IS_ERR(flowlabel)) in rawv6_sendmsg()
866 fl6.flowlabel = np->flow_label; in rawv6_sendmsg()
880 fl6_sock_release(flowlabel); in rawv6_sendmsg()
883 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
884 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
885 if (IS_ERR(flowlabel)) in rawv6_sendmsg()
[all …]
Dseg6_iptunnel.c112 __be32 flowlabel = 0; in seg6_make_flowlabel() local
118 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
120 flowlabel = ip6_flowlabel(inner_hdr); in seg6_make_flowlabel()
122 return flowlabel; in seg6_make_flowlabel()
133 __be32 flowlabel; in seg6_do_srh_encap() local
143 flowlabel = seg6_make_flowlabel(net, skb, inner_hdr); in seg6_do_srh_encap()
157 flowlabel); in seg6_do_srh_encap()
160 ip6_flow_hdr(hdr, 0, flowlabel); in seg6_do_srh_encap()
418 fl6.flowlabel = ip6_flowinfo(hdr); in seg6_output_core()
Dudp.c1333 struct ip6_flowlabel *flowlabel = NULL; in udpv6_sendmsg() local
1437 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_sendmsg()
1438 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1439 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1440 if (IS_ERR(flowlabel)) in udpv6_sendmsg()
1463 fl6.flowlabel = np->flow_label; in udpv6_sendmsg()
1486 fl6_sock_release(flowlabel); in udpv6_sendmsg()
1489 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
1490 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1491 if (IS_ERR(flowlabel)) in udpv6_sendmsg()
[all …]
Ddatagram.c54 fl6->flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in ip6_datagram_flow_key_init()
68 struct ip6_flowlabel *flowlabel = NULL; in ip6_datagram_dst_update() local
78 flowlabel = fl6_sock_lookup(sk, np->flow_label); in ip6_datagram_dst_update()
79 if (IS_ERR(flowlabel)) in ip6_datagram_dst_update()
85 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); in ip6_datagram_dst_update()
110 fl6_sock_release(flowlabel); in ip6_datagram_dst_update()
848 if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
849 if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
854 fl6->flowlabel = IPV6_FLOWINFO_MASK & *(__be32 *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
Dinet6_connection_sock.c91 fl6->flowlabel = np->flow_label; in inet6_csk_route_socket()
92 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in inet6_csk_route_socket()
Dtcp_ipv6.c170 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
171 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
172 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
173 struct ip6_flowlabel *flowlabel; in tcp_v6_connect() local
174 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
175 if (IS_ERR(flowlabel)) in tcp_v6_connect()
177 fl6_sock_release(flowlabel); in tcp_v6_connect()
223 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
272 fl6.flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in tcp_v6_connect()
546 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
[all …]
Dping.c119 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
Dip6_tunnel.c1138 fl6->flowlabel = ip6_make_flowinfo(dsfield, fl6->flowlabel); in ip6_tnl_xmit()
1251 ip6_make_flowlabel(net, skb, fl6->flowlabel, true, fl6)); in ip6_tnl_xmit()
1299 fl6.flowlabel = key->label; in ipxip6_tnl_xmit()
1360 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ipxip6_tnl_xmit()
1454 fl6->flowlabel = 0; in ip6_tnl_link_config()
1457 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6_tnl_link_config()
1459 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dip6_gre.c697 fl6->flowlabel |= ip6_flowlabel(ipv6h); in prepare_ip6gre_xmit_ipv6()
754 fl6->flowlabel = key->label; in __gre6_xmit()
1002 fl6.flowlabel = key->label; in ip6erspan_tunnel_xmit()
1114 fl6->flowlabel = 0; in ip6gre_tnl_link_config_common()
1119 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1121 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1387 t->fl.u.ip6.flowlabel, in ip6gre_header()
Dicmp.c599 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
758 fl6.flowlabel = ip6_flowlabel(ipv6_hdr(skb)); in icmpv6_echo_reply()
Dxfrm6_protocol.c84 .flowlabel = ip6_flowinfo(ip6h), in xfrm6_rcv_encap()
Drpl_iptunnel.c226 fl6.flowlabel = ip6_flowinfo(hdr); in rpl_output()
Dfib6_rules.c326 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match()
Dip6_output.c302 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit()
1316 fl6.flowlabel = ip6_make_flowinfo(prio, info->key.label); in ip6_dst_lookup_tunnel()
1906 ip6_make_flowlabel(net, skb, fl6->flowlabel, in __ip6_make_skb()
/net/ipv6/netfilter/
Dip6table_mangle.c37 u_int32_t flowlabel, mark; in ip6t_mangle_out() local
47 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); in ip6t_mangle_out()
56 flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) { in ip6t_mangle_out()
Dnf_dup_ipv6.c31 fl6.flowlabel = (__force __be32)(((iph->flow_lbl[0] & 0xF) << 16) | in nf_dup_ipv6_route()
Dip6t_rpfilter.c40 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in rpfilter_lookup_reverse6()
Dnft_fib_ipv6.c51 fl6->flowlabel = (*(__be32 *)iph) & IPV6_FLOWINFO_MASK; in nft_fib6_flowi_init()
/net/netfilter/
Dnft_chain_route.c71 u32 mark, flowlabel; in nf_route_table_hook6() local
86 flowlabel = *((u32 *)ipv6_hdr(skb)); in nf_route_table_hook6()
94 flowlabel != *((u32 *)ipv6_hdr(skb)))) { in nf_route_table_hook6()
/net/dccp/
Dipv6.c209 fl6.flowlabel = 0; in dccp_v6_send_response()
841 fl6.flowlabel = usin->sin6_flowinfo & IPV6_FLOWINFO_MASK; in dccp_v6_connect()
842 IP6_ECN_flow_init(fl6.flowlabel); in dccp_v6_connect()
843 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
844 struct ip6_flowlabel *flowlabel; in dccp_v6_connect() local
845 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in dccp_v6_connect()
846 if (IS_ERR(flowlabel)) in dccp_v6_connect()
848 fl6_sock_release(flowlabel); in dccp_v6_connect()
881 np->flow_label = fl6.flowlabel; in dccp_v6_connect()
/net/sctp/
Dipv6.c238 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in sctp_v6_xmit()
264 label = ip6_make_flowlabel(sock_net(sk), skb, fl6->flowlabel, true, fl6); in sctp_v6_xmit()
298 if (t->flowlabel & SCTP_FLOWLABEL_SET_MASK) in sctp_v6_get_dst()
299 fl6->flowlabel = htonl(t->flowlabel & SCTP_FLOWLABEL_VAL_MASK); in sctp_v6_get_dst()
301 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
302 struct ip6_flowlabel *flowlabel; in sctp_v6_get_dst() local
304 flowlabel = fl6_sock_lookup(sk, fl6->flowlabel); in sctp_v6_get_dst()
305 if (IS_ERR(flowlabel)) in sctp_v6_get_dst()
307 fl6_sock_release(flowlabel); in sctp_v6_get_dst()
Dassociola.c108 asoc->flowlabel = sp->flowlabel; in sctp_association_init()
650 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
651 peer->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_assoc_add_peer()
653 peer->flowlabel = asoc->flowlabel; in sctp_assoc_add_peer()
Dsocket.c2567 trans->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2569 trans->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2578 t->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2580 t->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2582 asoc->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2584 asoc->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2586 sp->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2588 sp->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
5965 if (trans->flowlabel & SCTP_FLOWLABEL_SET_MASK) { in sctp_getsockopt_peer_addr_params()
5966 params.spp_ipv6_flowlabel = trans->flowlabel & in sctp_getsockopt_peer_addr_params()
[all …]
/net/core/
Dlwt_bpf.c225 fl6.flowlabel = ip6_flowinfo(iph6); in bpf_lwt_xmit_reroute()

12