/net/decnet/ |
H A D | dn_rules.c | 53 int dn_fib_lookup(struct flowidn *flp, struct dn_fib_res *res) argument 61 flowidn_to_flowi(flp), 0, &arg); 67 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, argument 70 struct flowidn *fld = &flp->u.dn;
|
H A D | dn_table.c | 784 static int dn_fib_table_lookup(struct dn_fib_table *tb, const struct flowidn *flp, struct dn_fib_res *res) argument 793 dn_fib_key_t k = dz_key(flp->daddr, dz); 808 if (f->fn_scope < flp->flowidn_scope) 811 err = dn_fib_semantic_match(f->fn_type, DN_FIB_INFO(f), flp, res);
|
H A D | dn_route.c | 1255 static int __dn_route_output_key(struct dst_entry **pprt, const struct flowidn *flp, int flags) argument 1257 unsigned int hash = dn_hash(flp->saddr, flp->daddr); 1264 if ((flp->daddr == rt->fld.daddr) && 1265 (flp->saddr == rt->fld.saddr) && 1266 (flp->flowidn_mark == rt->fld.flowidn_mark) && 1268 (rt->fld.flowidn_oif == flp->flowidn_oif)) { 1278 return dn_route_output_slow(pprt, flp, flags); 1281 static int dn_route_output_key(struct dst_entry **pprt, struct flowidn *flp, int flags) argument 1285 err = __dn_route_output_key(pprt, flp, flag [all...] |
/net/ipv4/ |
H A D | fib_rules.c | 50 int __fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res) argument 58 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); 73 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, argument 101 err = fib_table_lookup(tbl, &flp->u.ip4, (struct fib_result *) arg->result, arg->flags);
|
H A D | fib_trie.c | 1333 t_key key, const struct flowi4 *flp, 1349 if (fa->fa_tos && fa->fa_tos != flp->flowi4_tos) 1353 if (fa->fa_info->fib_scope < flp->flowi4_scope) 1370 if (flp->flowi4_oif && flp->flowi4_oif != nh->nh_oif) 1397 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, argument 1405 t_key key = ntohl(flp->daddr); 1424 ret = check_leaf(tb, t, (struct leaf *)n, key, flp, res, fib_flags); 1449 ret = check_leaf(tb, t, (struct leaf *)n, key, flp, res, fib_flags); 1332 check_leaf(struct fib_table *tb, struct trie *t, struct leaf *l, t_key key, const struct flowi4 *flp, struct fib_result *res, int fib_flags) argument
|
H A D | ipmr.c | 175 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, argument
|
/net/ipv6/ |
H A D | fib6_rules.c | 50 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, argument 53 struct flowi6 *flp6 = &flp->u.ip6;
|
H A D | ip6_flowlabel.c | 141 struct ip6_flowlabel __rcu **flp; local 143 flp = &fl_ht[i]; 144 while ((fl = rcu_dereference_protected(*flp, 152 *flp = fl->next; 160 flp = &fl->next; 178 struct ip6_flowlabel __rcu **flp; local 180 flp = &fl_ht[i]; 181 while ((fl = rcu_dereference_protected(*flp, 185 *flp = fl->next; 190 flp [all...] |
H A D | ip6mr.c | 159 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, argument 184 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) argument
|