Home
last modified time | relevance | path

Searched refs:fib_rule (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/include/net/
H A Dfib_rules.h20 struct fib_rule { struct
34 struct fib_rule __rcu *ctarget; argument
53 struct fib_rule *rule; argument
69 int (*action)(struct fib_rule *,
76 bool (*suppress)(struct fib_rule *,
78 bool (*suppress)(struct fib_rule *, int,
81 int (*match)(struct fib_rule *,
83 int (*configure)(struct fib_rule *,
88 int (*delete)(struct fib_rule *);
89 int (*compare)(struct fib_rule *,
[all …]
H A Dip_fib.h161 struct fib_rule;
330 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
402 bool fib4_rule_default(const struct fib_rule *rule);
H A Ddn_fib.h11 struct fib_rule *r;
H A Dip6_fib.h609 bool fib6_rule_default(const struct fib_rule *rule);
644 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
/OK3568_Linux_fs/kernel/net/core/
H A Dfib_rules.c37 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
58 struct fib_rule *r; in fib_default_rule_add()
86 struct fib_rule *rule; in fib_default_rule_pref()
91 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref()
100 static void notify_rule_change(int event, struct fib_rule *rule,
142 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register()
188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops()
259 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
295 struct fib_rule *rule; in fib_rules_lookup()
306 struct fib_rule *target; in fib_rules_lookup()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dfib_rules.c35 struct fib_rule common;
48 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
57 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
107 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action()
143 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress()
176 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match()
224 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
287 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
310 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
338 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
[all …]
H A Dipmr.c69 struct fib_rule common;
166 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action()
193 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match()
202 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure()
209 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare()
215 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill()
296 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
355 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dfib6_rules.c25 struct fib_rule common;
31 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
40 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
132 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
195 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
259 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action()
269 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress()
302 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match()
347 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
[all …]
H A Dip6mr.c54 struct fib_rule common;
153 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action()
180 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match()
189 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure()
196 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare()
202 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill()
283 bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_rules.c42 struct fib_rule common;
68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action()
108 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match()
122 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure()
164 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare()
202 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmroute.h24 bool ipmr_rule_default(const struct fib_rule *rule);
53 static inline bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
H A Dmroute6.h68 bool ip6mr_rule_default(const struct fib_rule *rule);
70 static inline bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/rocker/
H A Drocker_main.c2159 struct fib_rule *rule; in rocker_router_fib_event_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c6162 struct fib_rule *rule; in mlxsw_sp_router_fib_rule_event()