Searched refs:fib_rule (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/include/net/ |
D | fib_rules.h | 11 struct fib_rule { struct 22 struct fib_rule __rcu *ctarget; argument 37 struct fib_rule *rule; argument 50 int (*action)(struct fib_rule *, 53 bool (*suppress)(struct fib_rule *, 55 int (*match)(struct fib_rule *, 57 int (*configure)(struct fib_rule *, 61 int (*delete)(struct fib_rule *); 62 int (*compare)(struct fib_rule *, 65 int (*fill)(struct fib_rule *, struct sk_buff *, [all …]
|
D | dn_fib.h | 9 struct fib_rule *r;
|
D | ip_fib.h | 128 struct fib_rule;
|
/linux-4.1.27/net/ipv4/ |
D | fib_rules.c | 37 struct fib_rule common; 73 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() 106 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress() 134 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match() 166 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure() 224 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 244 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 272 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() 297 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
|
D | ipmr.c | 93 struct fib_rule common; 173 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() 198 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match() 207 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure() 213 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() 219 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill()
|
/linux-4.1.27/net/core/ |
D | fib_rules.c | 23 struct fib_rule *r; in fib_default_rule_add() 49 struct fib_rule *rule; in fib_default_rule_pref() 54 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref() 64 static void notify_rule_change(int event, struct fib_rule *rule, 106 if (ops->rule_size < sizeof(struct fib_rule)) in __fib_rules_register() 152 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() 175 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() 197 struct fib_rule *rule; in fib_rules_lookup() 208 struct fib_rule *target; in fib_rules_lookup() 270 struct fib_rule *rule, *r, *last = NULL; in fib_nl_newrule() [all …]
|
/linux-4.1.27/net/decnet/ |
D | dn_rules.c | 41 struct fib_rule common; 67 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() 107 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match() 121 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure() 160 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare() 198 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
|
/linux-4.1.27/net/ipv6/ |
D | fib6_rules.c | 26 struct fib_rule common; 50 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() 123 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress() 150 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match() 183 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() 216 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib6_rule_compare() 241 static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_fill() 266 static size_t fib6_rule_nlmsg_payload(struct fib_rule *rule) in fib6_rule_nlmsg_payload()
|
D | ip6mr.c | 76 struct fib_rule common; 157 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action() 182 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match() 191 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure() 197 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare() 203 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill()
|