Home
last modified time | relevance | path

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

12

/net/l2tp/
Dl2tp_ip6.c498 struct ip6_flowlabel *flowlabel = NULL; in l2tp_ip6_sendmsg() local
536 fl6.flowlabel = lsa->l2tp_flowinfo & IPV6_FLOWINFO_MASK; in l2tp_ip6_sendmsg()
537 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in l2tp_ip6_sendmsg()
538 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
539 if (IS_ERR(flowlabel)) in l2tp_ip6_sendmsg()
561 fl6.flowlabel = np->flow_label; in l2tp_ip6_sendmsg()
575 fl6_sock_release(flowlabel); in l2tp_ip6_sendmsg()
578 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
579 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
580 if (IS_ERR(flowlabel)) in l2tp_ip6_sendmsg()
[all …]
/net/ipv6/
Dseg6_iptunnel.c94 __be32 flowlabel = 0; in seg6_make_flowlabel() local
100 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in seg6_make_flowlabel()
102 flowlabel = ip6_flowlabel(inner_hdr); in seg6_make_flowlabel()
104 return flowlabel; in seg6_make_flowlabel()
115 __be32 flowlabel; in seg6_do_srh_encap() local
125 flowlabel = seg6_make_flowlabel(net, skb, inner_hdr); in seg6_do_srh_encap()
139 flowlabel); in seg6_do_srh_encap()
142 ip6_flow_hdr(hdr, 0, flowlabel); in seg6_do_srh_encap()
350 fl6.flowlabel = ip6_flowinfo(hdr); in seg6_output()
Draw.c776 struct ip6_flowlabel *flowlabel = NULL; in rawv6_sendmsg() local
835 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in rawv6_sendmsg()
836 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
837 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
838 if (IS_ERR(flowlabel)) in rawv6_sendmsg()
861 fl6.flowlabel = np->flow_label; in rawv6_sendmsg()
875 fl6_sock_release(flowlabel); in rawv6_sendmsg()
878 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
879 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
880 if (IS_ERR(flowlabel)) in rawv6_sendmsg()
[all …]
Dudp.c1224 struct ip6_flowlabel *flowlabel = NULL; in udpv6_sendmsg() local
1326 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_sendmsg()
1327 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1328 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1329 if (IS_ERR(flowlabel)) in udpv6_sendmsg()
1352 fl6.flowlabel = np->flow_label; in udpv6_sendmsg()
1376 fl6_sock_release(flowlabel); in udpv6_sendmsg()
1379 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
1380 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1381 if (IS_ERR(flowlabel)) in udpv6_sendmsg()
[all …]
Ddatagram.c53 fl6->flowlabel = np->flow_label; in ip6_datagram_flow_key_init()
67 struct ip6_flowlabel *flowlabel = NULL; in ip6_datagram_dst_update() local
77 flowlabel = fl6_sock_lookup(sk, np->flow_label); in ip6_datagram_dst_update()
78 if (IS_ERR(flowlabel)) in ip6_datagram_dst_update()
84 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); in ip6_datagram_dst_update()
109 fl6_sock_release(flowlabel); in ip6_datagram_dst_update()
832 if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
833 if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
838 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.c169 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
170 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
171 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
172 struct ip6_flowlabel *flowlabel; in tcp_v6_connect() local
173 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
174 if (IS_ERR(flowlabel)) in tcp_v6_connect()
176 fl6_sock_release(flowlabel); in tcp_v6_connect()
222 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
510 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
871 fl6.flowlabel = label; in tcp_v6_send_response()
Dping.c117 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
Dip6_tunnel.c1100 fl6->flowlabel = ip6_make_flowinfo(dsfield, fl6->flowlabel); in ip6_tnl_xmit()
1213 ip6_make_flowlabel(net, skb, fl6->flowlabel, true, fl6)); in ip6_tnl_xmit()
1261 fl6.flowlabel = key->label; in ip4ip6_tnl_xmit()
1333 fl6.flowlabel = key->label; in ip6ip6_tnl_xmit()
1361 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ip6ip6_tnl_xmit()
1434 fl6->flowlabel = 0; in ip6_tnl_link_config()
1437 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6_tnl_link_config()
1439 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dip6_gre.c693 fl6->flowlabel |= ip6_flowlabel(ipv6h); in prepare_ip6gre_xmit_ipv6()
742 fl6->flowlabel = key->label; in __gre6_xmit()
977 fl6.flowlabel = key->label; in ip6erspan_tunnel_xmit()
1084 fl6->flowlabel = 0; in ip6gre_tnl_link_config_common()
1088 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1090 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1343 t->fl.u.ip6.flowlabel, in ip6gre_header()
Dicmp.c555 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
707 fl6.flowlabel = ip6_flowlabel(ipv6_hdr(skb)); in icmpv6_echo_reply()
Dfib6_rules.c318 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match()
Dip6_output.c250 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit()
1763 ip6_make_flowlabel(net, skb, fl6->flowlabel, in __ip6_make_skb()
Dseg6_local.c167 fl6.flowlabel = ip6_flowinfo(hdr); in seg6_lookup_nexthop()
Daf_inet6.c757 fl6.flowlabel = np->flow_label; in inet6_sk_rebuild_header()
/net/ipv6/netfilter/
Dip6table_mangle.c40 u_int32_t flowlabel, mark; in ip6t_mangle_out() local
50 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); in ip6t_mangle_out()
59 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.c48 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.c202 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 (IS_ERR(flowlabel)) in dccp_v6_connect()
836 fl6_sock_release(flowlabel); in dccp_v6_connect()
869 np->flow_label = fl6.flowlabel; in dccp_v6_connect()
/net/sctp/
Dipv6.c209 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in sctp_v6_xmit()
249 if (t->flowlabel & SCTP_FLOWLABEL_SET_MASK) in sctp_v6_get_dst()
250 fl6->flowlabel = htonl(t->flowlabel & SCTP_FLOWLABEL_VAL_MASK); in sctp_v6_get_dst()
252 if (np->sndflow && (fl6->flowlabel & IPV6_FLOWLABEL_MASK)) { in sctp_v6_get_dst()
253 struct ip6_flowlabel *flowlabel; in sctp_v6_get_dst() local
255 flowlabel = fl6_sock_lookup(sk, fl6->flowlabel); in sctp_v6_get_dst()
256 if (IS_ERR(flowlabel)) in sctp_v6_get_dst()
258 fl6_sock_release(flowlabel); in sctp_v6_get_dst()
Dassociola.c103 asoc->flowlabel = sp->flowlabel; in sctp_association_init()
639 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
640 peer->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_assoc_add_peer()
642 peer->flowlabel = asoc->flowlabel; in sctp_assoc_add_peer()
Dsocket.c2566 trans->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2568 trans->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2577 t->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2579 t->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2581 asoc->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2583 asoc->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2585 sp->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2587 sp->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
5974 if (trans->flowlabel & SCTP_FLOWLABEL_SET_MASK) { in sctp_getsockopt_peer_addr_params()
5975 params.spp_ipv6_flowlabel = trans->flowlabel & in sctp_getsockopt_peer_addr_params()
[all …]
/net/core/
Dlwt_bpf.c228 fl6.flowlabel = ip6_flowinfo(iph6); in bpf_lwt_xmit_reroute()

12