fib_rules.h (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) | fib_rules.h (cdef485217d30382f3bf6448c54b4401648fe3f1) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NET_FIB_RULES_H 3#define __NET_FIB_RULES_H 4 5#include <linux/types.h> 6#include <linux/slab.h> 7#include <linux/netdevice.h> 8#include <linux/fib_rules.h> --- 55 unchanged lines hidden (view full) --- 64 int addr_size; 65 int unresolved_rules; 66 int nr_goto_rules; 67 unsigned int fib_rules_seq; 68 69 int (*action)(struct fib_rule *, 70 struct flowi *, int, 71 struct fib_lookup_arg *); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NET_FIB_RULES_H 3#define __NET_FIB_RULES_H 4 5#include <linux/types.h> 6#include <linux/slab.h> 7#include <linux/netdevice.h> 8#include <linux/fib_rules.h> --- 55 unchanged lines hidden (view full) --- 64 int addr_size; 65 int unresolved_rules; 66 int nr_goto_rules; 67 unsigned int fib_rules_seq; 68 69 int (*action)(struct fib_rule *, 70 struct flowi *, int, 71 struct fib_lookup_arg *); |
72 bool (*suppress)(struct fib_rule *, | 72 bool (*suppress)(struct fib_rule *, int, |
73 struct fib_lookup_arg *); 74 int (*match)(struct fib_rule *, 75 struct flowi *, int); 76 int (*configure)(struct fib_rule *, 77 struct sk_buff *, 78 struct fib_rule_hdr *, 79 struct nlattr **, 80 struct netlink_ext_ack *); --- 132 unchanged lines hidden (view full) --- 213INDIRECT_CALLABLE_DECLARE(int fib6_rule_action(struct fib_rule *rule, 214 struct flowi *flp, int flags, 215 struct fib_lookup_arg *arg)); 216INDIRECT_CALLABLE_DECLARE(int fib4_rule_action(struct fib_rule *rule, 217 struct flowi *flp, int flags, 218 struct fib_lookup_arg *arg)); 219 220INDIRECT_CALLABLE_DECLARE(bool fib6_rule_suppress(struct fib_rule *rule, | 73 struct fib_lookup_arg *); 74 int (*match)(struct fib_rule *, 75 struct flowi *, int); 76 int (*configure)(struct fib_rule *, 77 struct sk_buff *, 78 struct fib_rule_hdr *, 79 struct nlattr **, 80 struct netlink_ext_ack *); --- 132 unchanged lines hidden (view full) --- 213INDIRECT_CALLABLE_DECLARE(int fib6_rule_action(struct fib_rule *rule, 214 struct flowi *flp, int flags, 215 struct fib_lookup_arg *arg)); 216INDIRECT_CALLABLE_DECLARE(int fib4_rule_action(struct fib_rule *rule, 217 struct flowi *flp, int flags, 218 struct fib_lookup_arg *arg)); 219 220INDIRECT_CALLABLE_DECLARE(bool fib6_rule_suppress(struct fib_rule *rule, |
221 int flags, |
|
221 struct fib_lookup_arg *arg)); 222INDIRECT_CALLABLE_DECLARE(bool fib4_rule_suppress(struct fib_rule *rule, | 222 struct fib_lookup_arg *arg)); 223INDIRECT_CALLABLE_DECLARE(bool fib4_rule_suppress(struct fib_rule *rule, |
224 int flags, |
|
223 struct fib_lookup_arg *arg)); 224#endif | 225 struct fib_lookup_arg *arg)); 226#endif |