Lines Matching refs:fl4
20 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() argument
28 memset(fl4, 0, sizeof(*fl4)); in __xfrm4_dst_lookup()
29 fl4->daddr = daddr->a4; in __xfrm4_dst_lookup()
30 fl4->flowi4_tos = tos; in __xfrm4_dst_lookup()
31 fl4->flowi4_oif = l3mdev_master_ifindex_by_index(net, oif); in __xfrm4_dst_lookup()
32 fl4->flowi4_mark = mark; in __xfrm4_dst_lookup()
34 fl4->saddr = saddr->a4; in __xfrm4_dst_lookup()
36 fl4->flowi4_flags = FLOWI_FLAG_SKIP_NH_OIF; in __xfrm4_dst_lookup()
38 rt = __ip_route_output_key(net, fl4); in __xfrm4_dst_lookup()
50 struct flowi4 fl4; in xfrm4_dst_lookup() local
52 return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark); in xfrm4_dst_lookup()
60 struct flowi4 fl4; in xfrm4_get_saddr() local
62 dst = __xfrm4_dst_lookup(net, &fl4, 0, oif, NULL, daddr, mark); in xfrm4_get_saddr()
66 saddr->a4 = fl4.saddr; in xfrm4_get_saddr()
75 const struct flowi4 *fl4 = &fl->u.ip4; in xfrm4_fill_dst() local
77 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()