Searched refs:fib_rules_ops (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/include/net/ |
D | fib_rules.h | 42 struct fib_rules_ops { struct 67 u32 (*default_pref)(struct fib_rules_ops *ops); argument 72 void (*flush_cache)(struct fib_rules_ops *ops); argument 111 struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, 113 void fib_rules_unregister(struct fib_rules_ops *); 115 int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags, 117 int fib_default_rule_add(struct fib_rules_ops *, u32 pref, u32 table, 119 u32 fib_default_rule_pref(struct fib_rules_ops *ops);
|
/linux-4.1.27/net/core/ |
D | fib_rules.c | 20 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add() 46 u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref() 65 struct fib_rules_ops *ops, struct nlmsghdr *nlh, 68 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops() 70 struct fib_rules_ops *ops; in lookup_rules_ops() 86 static void rules_ops_put(struct fib_rules_ops *ops) in rules_ops_put() 92 static void flush_route_cache(struct fib_rules_ops *ops) in flush_route_cache() 98 static int __fib_rules_register(struct fib_rules_ops *ops) in __fib_rules_register() 101 struct fib_rules_ops *o; in __fib_rules_register() 127 struct fib_rules_ops * [all …]
|
/linux-4.1.27/include/net/netns/ |
D | ipv4.h | 15 struct fib_rules_ops; 40 struct fib_rules_ops *rules_ops; 104 struct fib_rules_ops *mr_rules_ops;
|
D | ipv6.h | 66 struct fib_rules_ops *fib6_rules_ops; 78 struct fib_rules_ops *mr6_rules_ops;
|
/linux-4.1.27/net/decnet/ |
D | dn_rules.c | 37 static struct fib_rules_ops *dn_fib_rules_ops; 218 static void dn_fib_rule_flush_cache(struct fib_rules_ops *ops) in dn_fib_rule_flush_cache() 223 static const struct fib_rules_ops __net_initconst dn_fib_rules_ops_template = {
|
/linux-4.1.27/net/ipv4/ |
D | fib_rules.c | 304 static void fib4_rule_flush_cache(struct fib_rules_ops *ops) in fib4_rule_flush_cache() 309 static const struct fib_rules_ops __net_initconst fib4_rules_ops_template = { 328 static int fib_default_rules_init(struct fib_rules_ops *ops) in fib_default_rules_init() 347 struct fib_rules_ops *ops; in fib4_rules_init()
|
D | ipmr.c | 228 static const struct fib_rules_ops __net_initconst ipmr_rules_ops_template = { 245 struct fib_rules_ops *ops; in ipmr_rules_init()
|
/linux-4.1.27/net/ipv6/ |
D | fib6_rules.c | 261 static u32 fib6_rule_default_pref(struct fib_rules_ops *ops) in fib6_rule_default_pref() 272 static const struct fib_rules_ops __net_initconst fib6_rules_ops_template = { 292 struct fib_rules_ops *ops; in fib6_rules_net_init()
|
D | ip6mr.c | 212 static const struct fib_rules_ops __net_initconst ip6mr_rules_ops_template = { 229 struct fib_rules_ops *ops; in ip6mr_rules_init()
|