Home
last modified time | relevance | path

Searched refs:fib_table (Results 1 – 8 of 8) sorted by relevance

/linux/include/net/
H A Dip_fib.h172 struct fib_table;
183 struct fib_table *table;
257 struct fib_table { struct
278 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, argument
280 int fib_table_insert(struct net *, struct fib_table *, struct fib_config *,
282 int fib_table_delete(struct net *, struct fib_table *, struct fib_config *,
284 int fib_table_dump(struct fib_table *table, struct sk_buff *skb,
286 int fib_table_flush(struct net *net, struct fib_table *table, bool flush_all);
287 struct fib_table *fib_trie_unmerge(struct fib_table *main_tb);
288 void fib_table_flush_external(struct fib_table *table);
[all …]
/linux/net/ipv4/
H A Dfib_trie.c1015 struct fib_table *tb; in fib_find_matching_alias()
1192 int fib_table_insert(struct net *net, struct fib_table *tb,
1418 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
1686 int fib_table_delete(struct net *net, struct fib_table *tb,
1812 static void fib_trie_free(struct fib_table *tb) in leaf_walk_rcu()
1870 struct fib_table *fib_trie_unmerge(struct fib_table *oldtb) in fib_trie_free()
1874 struct fib_table *local_tb; in fib_trie_unmerge()
1929 void fib_table_flush_external(struct fib_table *tb)
1998 int fib_table_flush(struct net *net, struct fib_table *t in fib_table_flush_external()
[all...]
H A Dfib_frontend.c55 struct fib_table *local_table, *main_table; in fib4_rules_init()
77 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
79 struct fib_table *tb, *new_tb, *alias = NULL; in fib_new_table()
129 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
131 struct fib_table *tb = NULL; in fib_get_table()
154 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
155 struct fib_table *new) in fib_replace_table()
176 struct fib_table *old, *new, *main_table; in fib_unmerge()
213 struct fib_table *tb; in fib_flush()
234 struct fib_table *table; in __inet_dev_addr_type()
[all …]
H A Dfib_rules.c116 struct fib_table *tbl; in fib4_rule_action()
219 static struct fib_table *fib_empty_table(struct net *net) in fib_empty_table()
315 struct fib_table *table; in fib4_rule_configure()
H A Dfib_semantics.c1211 struct fib_table *tbl = NULL; in fib_check_nh_v4_gw()
2017 struct fib_table *tb = res->table; in fib_select_default()
H A Ddevinet.c153 struct fib_table *local; in __ip_dev_find()
/linux/include/net/netns/
H A Dipv4.h19 struct fib_table;
119 struct fib_table __rcu *fib_main;
120 struct fib_table __rcu *fib_default;
/linux/net/core/
H A Dfilter.c6404 struct fib_table *tb; in bpf_ipv4_fib_lookup()