Home
last modified time | relevance | path

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

/linux/include/net/
H A Dfib_rules.h64 struct fib_rules_ops { struct
95 void (*flush_cache)(struct fib_rules_ops *ops); argument
197 struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *,
199 void fib_rules_unregister(struct fib_rules_ops *);
201 int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags,
203 int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table);
/linux/net/core/
H A Dfib_rules.c55 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add()
81 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref()
99 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
102 static struct fib_rules_ops *lookup_rules_ops(const struct net *net, in lookup_rules_ops()
105 struct fib_rules_ops *ops; in lookup_rules_ops()
121 static void rules_ops_put(struct fib_rules_ops *ops) in rules_ops_put()
127 static void flush_route_cache(struct fib_rules_ops *ops) in flush_route_cache()
133 static int __fib_rules_register(struct fib_rules_ops *ops) in __fib_rules_register()
136 struct fib_rules_ops *o; in __fib_rules_register()
162 struct fib_rules_ops *
[all …]
/linux/include/net/netns/
H A Dipv4.h17 struct fib_rules_ops;
118 struct fib_rules_ops *rules_ops;
282 struct fib_rules_ops *mr_rules_ops;
/linux/net/ipv4/
H A Dfib_rules.c458 static void fib4_rule_flush_cache(struct fib_rules_ops *ops) in fib4_rule_flush_cache()
468 static const struct fib_rules_ops __net_initconst fib4_rules_ops_template = {
486 static int fib_default_rules_init(struct fib_rules_ops *ops) in fib_default_rules_init()
505 struct fib_rules_ops *ops; in fib4_rules_init()
H A Dipmr.c229 static const struct fib_rules_ops __net_initconst ipmr_rules_ops_template = {
244 struct fib_rules_ops *ops; in ipmr_rules_init()
/linux/net/ipv6/
H A Dfib6_rules.c589 static void fib6_rule_flush_cache(struct fib_rules_ops *ops) in fib6_rule_flush_cache()
594 static const struct fib_rules_ops __net_initconst fib6_rules_ops_template = {
614 struct fib_rules_ops *ops; in fib6_rules_net_init()