Searched refs:fib_rules_ops (Results 1 – 8 of 8) sorted by relevance
/linux/include/net/ |
H A D | fib_rules.h | 64 struct fib_rules_ops { struct 95 void (*flush_cache)(struct fib_rules_ops *ops); argument 190 struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, 192 void fib_rules_unregister(struct fib_rules_ops *); 194 int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags, 196 int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table);
|
/linux/net/core/ |
H A D | fib_rules.c | 56 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(const struct net *net, in lookup_rules_ops() 107 struct fib_rules_ops *ops; in lookup_rules_ops() 123 static void rules_ops_put(struct fib_rules_ops *ops) in rules_ops_put() 129 static void flush_route_cache(struct fib_rules_ops *ops) in flush_route_cache() 135 static int __fib_rules_register(struct fib_rules_ops *ops) in __fib_rules_register() 138 struct fib_rules_ops *o; in __fib_rules_register() 164 struct fib_rules_ops * [all …]
|
/linux/include/net/netns/ |
H A D | ipv4.h | 17 struct fib_rules_ops; 110 struct fib_rules_ops *rules_ops; 269 struct fib_rules_ops *mr_rules_ops;
|
H A D | ipv6.h | 92 struct fib_rules_ops *fib6_rules_ops; 108 struct fib_rules_ops *mr6_rules_ops;
|
/linux/net/ipv4/ |
H A D | fib_rules.c | 465 static void fib4_rule_flush_cache(struct fib_rules_ops *ops) in fib4_rule_flush_cache() 470 static const struct fib_rules_ops __net_initconst fib4_rules_ops_template = { 487 static int fib_default_rules_init(struct fib_rules_ops *ops) in fib_default_rules_init() 506 struct fib_rules_ops *ops; in fib4_rules_init()
|
H A D | ipmr.c | 236 static const struct fib_rules_ops __net_initconst ipmr_rules_ops_template = { 251 struct fib_rules_ops *ops; in ipmr_rules_init()
|
/linux/net/ipv6/ |
H A D | fib6_rules.c | 587 static void fib6_rule_flush_cache(struct fib_rules_ops *ops) in fib6_rule_flush_cache() 592 static const struct fib_rules_ops __net_initconst fib6_rules_ops_template = { 612 struct fib_rules_ops *ops; in fib6_rules_net_init()
|
H A D | ip6mr.c | 224 static const struct fib_rules_ops __net_initconst ip6mr_rules_ops_template = { 239 struct fib_rules_ops *ops; in ip6mr_rules_init()
|