Home
last modified time | relevance | path

Searched refs:fib_rules_ops (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/include/net/
Dfib_rules.h59 struct fib_rules_ops { struct
90 void (*flush_cache)(struct fib_rules_ops *ops); argument
187 struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *,
189 void fib_rules_unregister(struct fib_rules_ops *);
191 int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags,
193 int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table,
/Linux-v4.19/net/core/
Dfib_rules.c44 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add()
72 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref()
90 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
93 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops()
95 struct fib_rules_ops *ops; in lookup_rules_ops()
111 static void rules_ops_put(struct fib_rules_ops *ops) in rules_ops_put()
117 static void flush_route_cache(struct fib_rules_ops *ops) in flush_route_cache()
123 static int __fib_rules_register(struct fib_rules_ops *ops) in __fib_rules_register()
126 struct fib_rules_ops *o; in __fib_rules_register()
152 struct fib_rules_ops *
[all …]
/Linux-v4.19/include/net/netns/
Dipv4.h16 struct fib_rules_ops;
55 struct fib_rules_ops *rules_ops;
202 struct fib_rules_ops *mr_rules_ops;
Dipv6.h83 struct fib_rules_ops *fib6_rules_ops;
95 struct fib_rules_ops *mr6_rules_ops;
/Linux-v4.19/net/decnet/
Ddn_rules.c38 static struct fib_rules_ops *dn_fib_rules_ops;
222 static void dn_fib_rule_flush_cache(struct fib_rules_ops *ops) in dn_fib_rule_flush_cache()
227 static const struct fib_rules_ops __net_initconst dn_fib_rules_ops_template = {
/Linux-v4.19/net/ipv4/
Dfib_rules.c360 static void fib4_rule_flush_cache(struct fib_rules_ops *ops) in fib4_rule_flush_cache()
365 static const struct fib_rules_ops __net_initconst fib4_rules_ops_template = {
383 static int fib_default_rules_init(struct fib_rules_ops *ops) in fib_default_rules_init()
402 struct fib_rules_ops *ops; in fib4_rules_init()
Dipmr.c226 static const struct fib_rules_ops __net_initconst ipmr_rules_ops_template = {
242 struct fib_rules_ops *ops; in ipmr_rules_init()
/Linux-v4.19/net/ipv6/
Dfib6_rules.c440 static const struct fib_rules_ops __net_initconst fib6_rules_ops_template = {
460 struct fib_rules_ops *ops; in fib6_rules_net_init()
Dip6mr.c205 static const struct fib_rules_ops __net_initconst ip6mr_rules_ops_template = {
221 struct fib_rules_ops *ops; in ip6mr_rules_init()