Home
last modified time | relevance | path

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

/net/core/
Dflow.c97 struct flow_cache_entry *fle, **flp; in __flow_cache_shrink() local
103 flp = &flow_table(cpu)[i]; in __flow_cache_shrink()
104 while ((fle = *flp) != NULL && k < shrink_to) { in __flow_cache_shrink()
106 flp = &fle->next; in __flow_cache_shrink()
108 while ((fle = *flp) != NULL) { in __flow_cache_shrink()
109 *flp = fle->next; in __flow_cache_shrink()
/net/ipv6/
Dip6_flowlabel.c129 struct ip6_flowlabel *fl, **flp; in ip6_fl_gc() local
130 flp = &fl_ht[i]; in ip6_fl_gc()
131 while ((fl=*flp) != NULL) { in ip6_fl_gc()
138 *flp = fl->next; in ip6_fl_gc()
146 flp = &fl->next; in ip6_fl_gc()
163 struct ip6_flowlabel *fl, **flp; in ip6_fl_purge() local
164 flp = &fl_ht[i]; in ip6_fl_purge()
165 while ((fl = *flp) != NULL) { in ip6_fl_purge()
167 *flp = fl->next; in ip6_fl_purge()
172 flp = &fl->next; in ip6_fl_purge()
Dfib6_rules.c50 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() argument
75 rt = lookup(net, table, flp, flags); in fib6_rule_action()
98 &flp->fl6_dst, srcprefs, in fib6_rule_action()
104 ipv6_addr_copy(&flp->fl6_src, &saddr); in fib6_rule_action()
/net/decnet/
Ddn_rules.c52 int dn_fib_lookup(struct flowi *flp, struct dn_fib_res *res) in dn_fib_lookup() argument
59 err = fib_rules_lookup(&dn_fib_rules_ops, flp, 0, &arg); in dn_fib_lookup()
65 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() argument
93 err = tbl->lookup(tbl, flp, (struct dn_fib_res *)arg->result); in dn_fib_rule_action()
Ddn_route.c1155 static int __dn_route_output_key(struct dst_entry **pprt, const struct flowi *flp, int flags) in __dn_route_output_key() argument
1157 unsigned hash = dn_hash(flp->fld_src, flp->fld_dst); in __dn_route_output_key()
1164 if ((flp->fld_dst == rt->fl.fld_dst) && in __dn_route_output_key()
1165 (flp->fld_src == rt->fl.fld_src) && in __dn_route_output_key()
1166 (flp->mark == rt->fl.mark) && in __dn_route_output_key()
1168 (rt->fl.oif == flp->oif)) { in __dn_route_output_key()
1178 return dn_route_output_slow(pprt, flp, flags); in __dn_route_output_key()
1181 static int dn_route_output_key(struct dst_entry **pprt, struct flowi *flp, int flags) in dn_route_output_key() argument
1185 err = __dn_route_output_key(pprt, flp, flags); in dn_route_output_key()
1186 if (err == 0 && flp->proto) { in dn_route_output_key()
[all …]
Ddn_table.c765 static int dn_fib_table_lookup(struct dn_fib_table *tb, const struct flowi *flp, struct dn_fib_res … in dn_fib_table_lookup() argument
774 dn_fib_key_t k = dz_key(flp->fld_dst, dz); in dn_fib_table_lookup()
789 if (f->fn_scope < flp->fld_scope) in dn_fib_table_lookup()
792 err = dn_fib_semantic_match(f->fn_type, DN_FIB_INFO(f), flp, res); in dn_fib_table_lookup()
/net/ipv4/
Dfib_rules.c57 int fib_lookup(struct net *net, struct flowi *flp, struct fib_result *res) in fib_lookup() argument
64 err = fib_rules_lookup(net->ipv4.rules_ops, flp, 0, &arg); in fib_lookup()
70 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() argument
97 err = tbl->tb_lookup(tbl, flp, (struct fib_result *) arg->result); in fib4_rule_action()
Droute.c2655 const struct flowi *flp) in __ip_route_output_key() argument
2663 hash = rt_hash(flp->fl4_dst, flp->fl4_src, flp->oif, rt_genid(net)); in __ip_route_output_key()
2668 if (rth->fl.fl4_dst == flp->fl4_dst && in __ip_route_output_key()
2669 rth->fl.fl4_src == flp->fl4_src && in __ip_route_output_key()
2671 rth->fl.oif == flp->oif && in __ip_route_output_key()
2672 rth->fl.mark == flp->mark && in __ip_route_output_key()
2673 !((rth->fl.fl4_tos ^ flp->fl4_tos) & in __ip_route_output_key()
2688 return ip_route_output_slow(net, rp, flp); in __ip_route_output_key()
2707 static int ipv4_dst_blackhole(struct net *net, struct rtable **rp, struct flowi *flp) in ipv4_dst_blackhole() argument
2751 int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp, in ip_route_output_flow() argument
[all …]
Dfib_semantics.c867 int fib_semantic_match(struct list_head *head, const struct flowi *flp, in fib_semantic_match() argument
878 fa->fa_tos != flp->fl4_tos) in fib_semantic_match()
881 if (fa->fa_scope < flp->fl4_scope) in fib_semantic_match()
902 if (!flp->oif || flp->oif == nh->nh_oif) in fib_semantic_match()
1176 void fib_select_multipath(const struct flowi *flp, struct fib_result *res) in fib_select_multipath() argument
Dfib_lookup.h24 const struct flowi *flp,
Dfib_hash.c246 fn_hash_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result *res) in fn_hash_lookup() argument
257 __be32 k = fz_key(flp->fl4_dst, fz); in fn_hash_lookup()
265 flp, res, in fn_hash_lookup()
279 fn_hash_select_default(struct fib_table *tb, const struct flowi *flp, struct fib_result *res) in fn_hash_select_default() argument
Dfib_trie.c1335 t_key key, const struct flowi *flp, in check_leaf() argument
1350 err = fib_semantic_match(&li->falh, flp, res, in check_leaf()
1366 static int fn_trie_lookup(struct fib_table *tb, const struct flowi *flp, in fn_trie_lookup() argument
1374 t_key key = ntohl(flp->fl4_dst); in fn_trie_lookup()
1394 ret = check_leaf(t, (struct leaf *)n, key, flp, res); in fn_trie_lookup()
1419 ret = check_leaf(t, (struct leaf *)n, key, flp, res); in fn_trie_lookup()
1801 const struct flowi *flp, in fn_trie_select_default() argument
Dfib_frontend.c118 const struct flowi *flp, struct fib_result *res) in fib_select_default() argument
129 tb->tb_select_default(tb, flp, res); in fib_select_default()