Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dfib_rules.h42 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/
Dfib_rules.c20 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/
Dipv4.h15 struct fib_rules_ops;
40 struct fib_rules_ops *rules_ops;
104 struct fib_rules_ops *mr_rules_ops;
Dipv6.h66 struct fib_rules_ops *fib6_rules_ops;
78 struct fib_rules_ops *mr6_rules_ops;
/linux-4.1.27/net/decnet/
Ddn_rules.c37 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/
Dfib_rules.c304 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()
Dipmr.c228 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/
Dfib6_rules.c261 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()
Dip6mr.c212 static const struct fib_rules_ops __net_initconst ip6mr_rules_ops_template = {
229 struct fib_rules_ops *ops; in ip6mr_rules_init()