Searched refs:fib_rules_ops (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/include/net/ |
D | fib_rules.h | 60 struct fib_rules_ops { struct 91 void (*flush_cache)(struct fib_rules_ops *ops); argument 169 struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, 171 void fib_rules_unregister(struct fib_rules_ops *); 173 int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags, 175 int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table,
|
/linux-6.6.21/net/core/ |
D | fib_rules.c | 55 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add() 83 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref() 101 struct fib_rules_ops *ops, struct nlmsghdr *nlh, 104 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops() 106 struct fib_rules_ops *ops; in lookup_rules_ops() 122 static void rules_ops_put(struct fib_rules_ops *ops) in rules_ops_put() 128 static void flush_route_cache(struct fib_rules_ops *ops) in flush_route_cache() 134 static int __fib_rules_register(struct fib_rules_ops *ops) in __fib_rules_register() 137 struct fib_rules_ops *o; in __fib_rules_register() 163 struct fib_rules_ops * [all …]
|
/linux-6.6.21/include/net/netns/ |
D | ipv4.h | 17 struct fib_rules_ops; 60 struct fib_rules_ops *rules_ops; 225 struct fib_rules_ops *mr_rules_ops;
|
D | ipv6.h | 91 struct fib_rules_ops *fib6_rules_ops; 107 struct fib_rules_ops *mr6_rules_ops;
|
/linux-6.6.21/net/ipv4/ |
D | fib_rules.c | 372 static void fib4_rule_flush_cache(struct fib_rules_ops *ops) in fib4_rule_flush_cache() 377 static const struct fib_rules_ops __net_initconst fib4_rules_ops_template = { 394 static int fib_default_rules_init(struct fib_rules_ops *ops) in fib_default_rules_init() 413 struct fib_rules_ops *ops; in fib4_rules_init()
|
D | ipmr.c | 225 static const struct fib_rules_ops __net_initconst ipmr_rules_ops_template = { 240 struct fib_rules_ops *ops; in ipmr_rules_init()
|
/linux-6.6.21/net/ipv6/ |
D | fib6_rules.c | 452 static const struct fib_rules_ops __net_initconst fib6_rules_ops_template = { 471 struct fib_rules_ops *ops; in fib6_rules_net_init()
|
D | ip6mr.c | 214 static const struct fib_rules_ops __net_initconst ip6mr_rules_ops_template = { 229 struct fib_rules_ops *ops; in ip6mr_rules_init()
|