• Home
  • Raw
  • Download

Lines Matching refs:fl4

202 	const struct flowi4 *fl4 = &fl->u.ip4;  in __xfrm4_selector_match()  local
204 return addr4_match(fl4->daddr, sel->daddr.a4, sel->prefixlen_d) && in __xfrm4_selector_match()
205 addr4_match(fl4->saddr, sel->saddr.a4, sel->prefixlen_s) && in __xfrm4_selector_match()
206 !((xfrm_flowi_dport(fl, &fl4->uli) ^ sel->dport) & sel->dport_mask) && in __xfrm4_selector_match()
207 !((xfrm_flowi_sport(fl, &fl4->uli) ^ sel->sport) & sel->sport_mask) && in __xfrm4_selector_match()
208 (fl4->flowi4_proto == sel->proto || !sel->proto) && in __xfrm4_selector_match()
209 (fl4->flowi4_oif == sel->ifindex || !sel->ifindex); in __xfrm4_selector_match()
3281 struct flowi4 *fl4 = &fl->u.ip4; in decode_session4() local
3287 memset(fl4, 0, sizeof(struct flowi4)); in decode_session4()
3288 fl4->flowi4_mark = skb->mark; in decode_session4()
3289 fl4->flowi4_oif = reverse ? skb->skb_iif : oif; in decode_session4()
3291 fl4->flowi4_proto = iph->protocol; in decode_session4()
3292 fl4->daddr = reverse ? iph->saddr : iph->daddr; in decode_session4()
3293 fl4->saddr = reverse ? iph->daddr : iph->saddr; in decode_session4()
3294 fl4->flowi4_tos = iph->tos & ~INET_ECN_MASK; in decode_session4()
3310 fl4->fl4_sport = ports[!!reverse]; in decode_session4()
3311 fl4->fl4_dport = ports[!reverse]; in decode_session4()
3322 fl4->fl4_icmp_type = icmp[0]; in decode_session4()
3323 fl4->fl4_icmp_code = icmp[1]; in decode_session4()
3334 fl4->fl4_ipsec_spi = ehdr[0]; in decode_session4()
3345 fl4->fl4_ipsec_spi = ah_hdr[1]; in decode_session4()
3356 fl4->fl4_ipsec_spi = htonl(ntohs(ipcomp_hdr[1])); in decode_session4()
3372 fl4->fl4_gre_key = gre_hdr[1]; in decode_session4()
3377 fl4->fl4_ipsec_spi = 0; in decode_session4()