Lines Matching refs:fl
25 struct flowi fl = { in xfrm4_dst_lookup() local
38 fl.fl4_src = saddr->a4; in xfrm4_dst_lookup()
40 err = __ip_route_output_key(net, &rt, &fl); in xfrm4_dst_lookup()
64 __xfrm4_find_bundle(struct flowi *fl, struct xfrm_policy *policy) in __xfrm4_find_bundle() argument
71 if (xdst->u.rt.fl.oif == fl->oif && /*XXX*/ in __xfrm4_find_bundle()
72 xdst->u.rt.fl.fl4_dst == fl->fl4_dst && in __xfrm4_find_bundle()
73 xdst->u.rt.fl.fl4_src == fl->fl4_src && in __xfrm4_find_bundle()
74 xdst->u.rt.fl.fl4_tos == fl->fl4_tos && in __xfrm4_find_bundle()
75 xfrm_bundle_ok(policy, xdst, fl, AF_INET, 0)) { in __xfrm4_find_bundle()
84 static int xfrm4_get_tos(struct flowi *fl) in xfrm4_get_tos() argument
86 return fl->fl4_tos; in xfrm4_get_tos()
99 xdst->u.rt.fl = rt->fl; in xfrm4_fill_dst()
126 _decode_session4(struct sk_buff *skb, struct flowi *fl, int reverse) in _decode_session4() argument
131 memset(fl, 0, sizeof(struct flowi)); in _decode_session4()
142 fl->fl_ip_sport = ports[!!reverse]; in _decode_session4()
143 fl->fl_ip_dport = ports[!reverse]; in _decode_session4()
151 fl->fl_icmp_type = icmp[0]; in _decode_session4()
152 fl->fl_icmp_code = icmp[1]; in _decode_session4()
160 fl->fl_ipsec_spi = ehdr[0]; in _decode_session4()
168 fl->fl_ipsec_spi = ah_hdr[1]; in _decode_session4()
176 fl->fl_ipsec_spi = htonl(ntohs(ipcomp_hdr[1])); in _decode_session4()
180 fl->fl_ipsec_spi = 0; in _decode_session4()
184 fl->proto = iph->protocol; in _decode_session4()
185 fl->fl4_dst = reverse ? iph->saddr : iph->daddr; in _decode_session4()
186 fl->fl4_src = reverse ? iph->daddr : iph->saddr; in _decode_session4()
187 fl->fl4_tos = iph->tos; in _decode_session4()