Home
last modified time | relevance | path

Searched refs:flp (Results 1 – 7 of 7) sorted by relevance

/net/ipv6/
Dfib6_rules.c157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument
161 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt()
195 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() argument
199 struct flowi6 *flp6 = &flp->u.ip6; in __fib6_rule_action()
260 struct flowi *flp, int flags, in fib6_rule_action() argument
264 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action()
266 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action()
Dip6_flowlabel.c158 struct ip6_flowlabel __rcu **flp; in ip6_fl_gc() local
160 flp = &fl_ht[i]; in ip6_fl_gc()
161 while ((fl = rcu_dereference_protected(*flp, in ip6_fl_gc()
169 *flp = fl->next; in ip6_fl_gc()
177 flp = &fl->next; in ip6_fl_gc()
195 struct ip6_flowlabel __rcu **flp; in ip6_fl_purge() local
197 flp = &fl_ht[i]; in ip6_fl_purge()
198 while ((fl = rcu_dereference_protected(*flp, in ip6_fl_purge()
202 *flp = fl->next; in ip6_fl_purge()
207 flp = &fl->next; in ip6_fl_purge()
Dip6mr.c153 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() argument
180 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() argument
/net/ipv4/
Dfib_rules.c80 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup() argument
90 l3mdev_update_flow(net, flowi4_to_flowi(flp)); in __fib_lookup()
92 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup()
108 struct flowi *flp, int flags, in fib4_rule_action() argument
135 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
Dfib_trie.c1421 const struct flowi4 *flp) in fib_lookup_good_nhc() argument
1431 if (!(flp->flowi4_flags & FLOWI_FLAG_SKIP_NH_OIF)) { in fib_lookup_good_nhc()
1432 if (flp->flowi4_oif && in fib_lookup_good_nhc()
1433 flp->flowi4_oif != nhc->nhc_oif) in fib_lookup_good_nhc()
1441 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() argument
1448 const t_key key = ntohl(flp->daddr); in fib_table_lookup()
1459 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup()
1545 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup()
1579 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_table_lookup()
1584 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup()
[all …]
Dfib_semantics.c2069 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument
2086 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) in fib_select_default()
Dipmr.c166 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument