Home
last modified time | relevance | path

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

12

/net/l2tp/
A Dl2tp_ip6.c525 struct ip6_flowlabel *flowlabel = NULL; in l2tp_ip6_sendmsg() local
563 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
564 if (IS_ERR(flowlabel)) in l2tp_ip6_sendmsg()
585 fl6.flowlabel = np->flow_label; in l2tp_ip6_sendmsg()
599 fl6_sock_release(flowlabel); in l2tp_ip6_sendmsg()
602 if ((fl6.flowlabel & IPV6_FLOWLABEL_MASK) && !flowlabel) { in l2tp_ip6_sendmsg()
603 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in l2tp_ip6_sendmsg()
604 if (IS_ERR(flowlabel)) in l2tp_ip6_sendmsg()
615 if (flowlabel) in l2tp_ip6_sendmsg()
637 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg()
[all …]
/net/ipv6/
A Dseg6_iptunnel.c114 __be32 flowlabel = 0; in seg6_make_flowlabel() local
122 flowlabel = ip6_flowlabel(inner_hdr); in seg6_make_flowlabel()
124 return flowlabel; in seg6_make_flowlabel()
136 __be32 flowlabel; in __seg6_do_srh_encap() local
146 flowlabel = seg6_make_flowlabel(net, skb, inner_hdr); in __seg6_do_srh_encap()
160 flowlabel); in __seg6_do_srh_encap()
163 ip6_flow_hdr(hdr, 0, flowlabel); in __seg6_do_srh_encap()
223 __be32 flowlabel; in seg6_do_srh_encap_red() local
257 flowlabel); in seg6_do_srh_encap_red()
260 ip6_flow_hdr(hdr, 0, flowlabel); in seg6_do_srh_encap_red()
[all …]
A Draw.c750 struct ip6_flowlabel *flowlabel = NULL; in rawv6_sendmsg() local
805 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
806 if (IS_ERR(flowlabel)) in rawv6_sendmsg()
829 fl6.flowlabel = np->flow_label; in rawv6_sendmsg()
843 fl6_sock_release(flowlabel); in rawv6_sendmsg()
846 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
847 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
848 if (IS_ERR(flowlabel)) in rawv6_sendmsg()
858 if (flowlabel) in rawv6_sendmsg()
891 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in rawv6_sendmsg()
[all …]
A Dfib6_rules.c29 __be32 flowlabel; member
335 if ((r->dscp ^ ip6_dscp(fl6->flowlabel)) & r->dscp_mask) in fib6_rule_match()
338 if ((r->flowlabel ^ flowi6_get_flowlabel(fl6)) & r->flowlabel_mask) in fib6_rule_match()
396 __be32 flowlabel, flowlabel_mask; in fib6_nl2rule_flowlabel() local
402 flowlabel = nla_get_be32(tb[FRA_FLOWLABEL]); in fib6_nl2rule_flowlabel()
411 if (flowlabel & ~flowlabel_mask) { in fib6_nl2rule_flowlabel()
416 rule6->flowlabel = flowlabel; in fib6_nl2rule_flowlabel()
524 nla_get_be32(tb[FRA_FLOWLABEL]) != rule6->flowlabel) in fib6_rule_compare()
562 (nla_put_be32(skb, FRA_FLOWLABEL, rule6->flowlabel) || in fib6_rule_fill()
A Dudp.c1484 struct ip6_flowlabel *flowlabel = NULL; in udpv6_sendmsg() local
1588 flowlabel = fl6_sock_lookup(sk, fl6->flowlabel); in udpv6_sendmsg()
1589 if (IS_ERR(flowlabel)) in udpv6_sendmsg()
1612 fl6->flowlabel = np->flow_label; in udpv6_sendmsg()
1637 fl6_sock_release(flowlabel); in udpv6_sendmsg()
1640 if ((fl6->flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
1641 flowlabel = fl6_sock_lookup(sk, fl6->flowlabel); in udpv6_sendmsg()
1642 if (IS_ERR(flowlabel)) in udpv6_sendmsg()
1652 if (flowlabel) in udpv6_sendmsg()
1704 fl6->flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6->flowlabel); in udpv6_sendmsg()
[all …]
A Dping.c93 fl6.flowlabel = u->sin6_flowinfo & IPV6_FLOWINFO_MASK; in ping_v6_sendmsg()
100 fl6.flowlabel = np->flow_label; in ping_v6_sendmsg()
150 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
A Ddatagram.c55 fl6->flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in ip6_datagram_flow_key_init()
74 struct ip6_flowlabel *flowlabel = NULL; in ip6_datagram_dst_update() local
85 flowlabel = fl6_sock_lookup(sk, np->flow_label); in ip6_datagram_dst_update()
86 if (IS_ERR(flowlabel)) in ip6_datagram_dst_update()
92 opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); in ip6_datagram_dst_update()
117 fl6_sock_release(flowlabel); in ip6_datagram_dst_update()
854 if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
855 if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl()
860 fl6->flowlabel = IPV6_FLOWINFO_MASK & *(__be32 *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
A Dinet6_connection_sock.c76 fl6->flowlabel = np->flow_label; in inet6_csk_route_socket()
77 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in inet6_csk_route_socket()
A Dtcp_ipv6.c162 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
163 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
164 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
165 struct ip6_flowlabel *flowlabel; in tcp_v6_connect() local
166 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
167 if (IS_ERR(flowlabel)) in tcp_v6_connect()
169 fl6_sock_release(flowlabel); in tcp_v6_connect()
215 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
266 fl6.flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in tcp_v6_connect()
553 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
[all …]
A Dip6_tunnel.c1163 fl6->flowlabel = ip6_make_flowinfo(dsfield, fl6->flowlabel); in ip6_tnl_xmit()
1276 ip6_make_flowlabel(net, skb, fl6->flowlabel, true, fl6)); in ip6_tnl_xmit()
1324 fl6.flowlabel = key->label; in ipxip6_tnl_xmit()
1385 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ipxip6_tnl_xmit()
1478 fl6->flowlabel = 0; in ip6_tnl_link_config()
1481 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6_tnl_link_config()
1483 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
A Dip6_gre.c665 fl6->flowlabel |= ip6_flowlabel(ipv6h); in prepare_ip6gre_xmit_ipv6()
749 fl6->flowlabel = key->label; in __gre6_xmit()
984 fl6.flowlabel = key->label; in ip6erspan_tunnel_xmit()
1100 fl6->flowlabel = 0; in ip6gre_tnl_link_config_common()
1105 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1107 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config_common()
1373 t->fl.u.ip6.flowlabel, in ip6gre_header()
A Dip6_udp_tunnel.c163 fl6.flowlabel = ip6_make_flowinfo(dsfield, key->label); in udp_tunnel6_dst_lookup()
A Dicmp.c604 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
767 fl6.flowlabel = ip6_flowlabel(ipv6_hdr(skb)); in icmpv6_echo_reply()
A Dnetfilter.c39 .flowlabel = ip6_flowinfo(iph), in ip6_route_me_harder()
A Dxfrm6_protocol.c84 .flowlabel = ip6_flowinfo(ip6h), in xfrm6_rcv_encap()
A Drpl_iptunnel.c228 fl6.flowlabel = ip6_flowinfo(hdr); in rpl_output()
A Dioam6_iptunnel.c421 fl6.flowlabel = ip6_flowinfo(hdr); in ioam6_output()
/net/ipv6/netfilter/
A Dip6table_mangle.c36 u32 flowlabel, mark; in ip6t_mangle_out() local
47 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); in ip6t_mangle_out()
57 flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) { in ip6t_mangle_out()
A Dnf_dup_ipv6.c31 fl6.flowlabel = (__force __be32)(((iph->flow_lbl[0] & 0xF) << 16) | in nf_dup_ipv6_route()
A Dip6t_rpfilter.c41 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in rpfilter_lookup_reverse6()
A Dnft_fib_ipv6.c52 fl6->flowlabel = (*(__be32 *)iph) & IPV6_FLOWINFO_MASK; in nft_fib6_flowi_init()
/net/netfilter/
A 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/sctp/
A Dipv6.c236 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in sctp_v6_xmit()
262 label = ip6_make_flowlabel(sock_net(sk), skb, fl6->flowlabel, true, fl6); in sctp_v6_xmit()
297 if (t->flowlabel & SCTP_FLOWLABEL_SET_MASK) in sctp_v6_get_dst()
298 fl6->flowlabel = htonl(t->flowlabel & SCTP_FLOWLABEL_VAL_MASK); in sctp_v6_get_dst()
301 (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()
A Dassociola.c108 asoc->flowlabel = sp->flowlabel; in sctp_association_init()
649 peer->flowlabel = ntohl(info & IPV6_FLOWLABEL_MASK); in sctp_assoc_add_peer()
650 peer->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_assoc_add_peer()
652 peer->flowlabel = asoc->flowlabel; in sctp_assoc_add_peer()
A Dsocket.c2571 trans->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2580 t->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2582 t->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2584 asoc->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2586 asoc->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
2588 sp->flowlabel = params->spp_ipv6_flowlabel & in sctp_apply_peer_addr_params()
2590 sp->flowlabel |= SCTP_FLOWLABEL_SET_MASK; in sctp_apply_peer_addr_params()
5969 params.spp_ipv6_flowlabel = trans->flowlabel & in sctp_getsockopt_peer_addr_params()
5987 params.spp_ipv6_flowlabel = asoc->flowlabel & in sctp_getsockopt_peer_addr_params()
6004 if (sp->flowlabel & SCTP_FLOWLABEL_SET_MASK) { in sctp_getsockopt_peer_addr_params()
[all …]

Completed in 63 milliseconds

12