• Home
  • Raw
  • Download

Lines Matching refs:fl6

191 int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,  in ip6_xmit()  argument
196 struct in6_addr *first_hop = &fl6->daddr; in ip6_xmit()
200 u8 proto = fl6->flowi6_proto; in ip6_xmit()
231 &fl6->saddr); in ip6_xmit()
246 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit()
247 ip6_autoflowlabel(net, np), fl6)); in ip6_xmit()
253 hdr->saddr = fl6->saddr; in ip6_xmit()
284 ipv6_local_error((struct sock *)sk, EMSGSIZE, fl6, mtu); in ip6_xmit()
906 const struct flowi6 *fl6) in ip6_sk_dst_check() argument
937 if (ip6_rt_check(&rt->rt6i_dst, &fl6->daddr, np->daddr_cache) || in ip6_sk_dst_check()
939 ip6_rt_check(&rt->rt6i_src, &fl6->saddr, np->saddr_cache) || in ip6_sk_dst_check()
941 (!(fl6->flowi6_flags & FLOWI_FLAG_SKIP_NH_OIF) && in ip6_sk_dst_check()
942 (fl6->flowi6_oif && fl6->flowi6_oif != dst->dev->ifindex))) { in ip6_sk_dst_check()
952 struct dst_entry **dst, struct flowi6 *fl6) in ip6_dst_lookup_tail() argument
970 if (ipv6_addr_any(&fl6->saddr) && (!*dst || !(*dst)->error)) { in ip6_dst_lookup_tail()
975 *dst = ip6_route_output(net, sk, fl6); in ip6_dst_lookup_tail()
977 err = ip6_route_get_saddr(net, rt, &fl6->daddr, in ip6_dst_lookup_tail()
979 &fl6->saddr); in ip6_dst_lookup_tail()
992 if (fl6->flowi6_oif) in ip6_dst_lookup_tail()
997 *dst = ip6_route_output_flags(net, sk, fl6, flags); in ip6_dst_lookup_tail()
1015 rt6_nexthop(rt, &fl6->daddr)); in ip6_dst_lookup_tail()
1024 ifp = ipv6_get_ifaddr(net, &fl6->saddr, in ip6_dst_lookup_tail()
1037 memcpy(&fl_gw6, fl6, sizeof(struct flowi6)); in ip6_dst_lookup_tail()
1046 if (ipv6_addr_v4mapped(&fl6->saddr) && in ip6_dst_lookup_tail()
1047 !(ipv6_addr_v4mapped(&fl6->daddr) || ipv6_addr_any(&fl6->daddr))) { in ip6_dst_lookup_tail()
1074 struct flowi6 *fl6) in ip6_dst_lookup() argument
1077 return ip6_dst_lookup_tail(net, sk, dst, fl6); in ip6_dst_lookup()
1092 struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6, in ip6_dst_lookup_flow() argument
1098 err = ip6_dst_lookup_tail(sock_net(sk), sk, &dst, fl6); in ip6_dst_lookup_flow()
1102 fl6->daddr = *final_dst; in ip6_dst_lookup_flow()
1104 return xfrm_lookup_route(sock_net(sk), dst, flowi6_to_flowi(fl6), sk, 0); in ip6_dst_lookup_flow()
1122 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, in ip6_sk_dst_lookup_flow() argument
1127 dst = ip6_sk_dst_check(sk, dst, fl6); in ip6_sk_dst_lookup_flow()
1129 dst = ip6_dst_lookup_flow(sk, fl6, final_dst); in ip6_sk_dst_lookup_flow()
1173 struct rt6_info *rt, struct flowi6 *fl6) in ip6_setup_cork() argument
1218 cork->fl.u.ip6 = *fl6; in ip6_setup_cork()
1242 struct flowi6 *fl6, in __ip6_append_data() argument
1299 ipv6_local_rxpmtu(sk, fl6, mtu - headersize + in __ip6_append_data()
1312 ipv6_local_error(sk, EMSGSIZE, fl6, pmtu); in __ip6_append_data()
1554 struct ipcm6_cookie *ipc6, struct flowi6 *fl6, in ip6_append_data() argument
1570 ipc6, rt, fl6); in ip6_append_data()
1578 fl6 = &inet->cork.fl.u.ip6; in ip6_append_data()
1582 return __ip6_append_data(sk, fl6, &sk->sk_write_queue, &inet->cork.base, in ip6_append_data()
1621 struct flowi6 *fl6 = &cork->fl.u.ip6; in __ip6_make_skb() local
1622 unsigned char proto = fl6->flowi6_proto; in __ip6_make_skb()
1646 *final_dst = fl6->daddr; in __ip6_make_skb()
1651 ipv6_push_nfrag_opts(skb, opt, &proto, &final_dst, &fl6->saddr); in __ip6_make_skb()
1658 ip6_make_flowlabel(net, skb, fl6->flowlabel, in __ip6_make_skb()
1659 ip6_autoflowlabel(net, np), fl6)); in __ip6_make_skb()
1662 hdr->saddr = fl6->saddr; in __ip6_make_skb()
1740 struct ipcm6_cookie *ipc6, struct flowi6 *fl6, in ip6_make_skb() argument
1760 err = ip6_setup_cork(sk, &cork, &v6_cork, ipc6, rt, fl6); in ip6_make_skb()
1768 err = __ip6_append_data(sk, fl6, &queue, &cork.base, &v6_cork, in ip6_make_skb()