/net/l2tp/ |
D | l2tp_ip6.c | 497 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/ |
D | raw.c | 780 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 …]
|
D | seg6_iptunnel.c | 112 __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()
|
D | udp.c | 1333 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 …]
|
D | datagram.c | 54 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()
|
D | inet6_connection_sock.c | 91 fl6->flowlabel = np->flow_label; in inet6_csk_route_socket() 92 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in inet6_csk_route_socket()
|
D | tcp_ipv6.c | 170 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 …]
|
D | ping.c | 119 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
|
D | ip6_tunnel.c | 1138 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()
|
D | ip6_gre.c | 697 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()
|
D | icmp.c | 599 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send() 758 fl6.flowlabel = ip6_flowlabel(ipv6_hdr(skb)); in icmpv6_echo_reply()
|
D | xfrm6_protocol.c | 84 .flowlabel = ip6_flowinfo(ip6h), in xfrm6_rcv_encap()
|
D | rpl_iptunnel.c | 226 fl6.flowlabel = ip6_flowinfo(hdr); in rpl_output()
|
D | fib6_rules.c | 326 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match()
|
D | ip6_output.c | 302 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/ |
D | ip6table_mangle.c | 37 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()
|
D | nf_dup_ipv6.c | 31 fl6.flowlabel = (__force __be32)(((iph->flow_lbl[0] & 0xF) << 16) | in nf_dup_ipv6_route()
|
D | ip6t_rpfilter.c | 40 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in rpfilter_lookup_reverse6()
|
D | nft_fib_ipv6.c | 51 fl6->flowlabel = (*(__be32 *)iph) & IPV6_FLOWINFO_MASK; in nft_fib6_flowi_init()
|
/net/netfilter/ |
D | nft_chain_route.c | 71 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/ |
D | ipv6.c | 209 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/ |
D | ipv6.c | 238 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()
|
D | associola.c | 108 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()
|
D | socket.c | 2567 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/ |
D | lwt_bpf.c | 225 fl6.flowlabel = ip6_flowinfo(iph6); in bpf_lwt_xmit_reroute()
|