diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-16 22:37:53 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-16 22:37:53 +0000 |
commit | b1c9d871614874092e397ae505799be82284713d (patch) | |
tree | cca7d987f0b35fe0ce15a6383dfb7175b5c9931b /filter/filter.h | |
parent | 508c36ab7981a8e50d1235c2c443491e4b04aa01 (diff) |
Fixed the horrible mess Pavel has created with his last commit.
Diffstat (limited to 'filter/filter.h')
-rw-r--r-- | filter/filter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/filter.h b/filter/filter.h index f17f0765..02b22ff4 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -31,7 +31,7 @@ struct f_inst { /* Instruction */ #define arg1 a1.p #define arg2 a2.p -struct prefix { +struct f_prefix { ip_addr ip; int len; #define LEN_MASK 0xff @@ -46,7 +46,7 @@ struct f_val { union { int i; /* ip_addr ip; Folded into prefix */ - struct prefix px; + struct f_prefix px; char *s; struct f_tree *t; struct adata *ad; @@ -59,7 +59,6 @@ struct filter { struct f_inst *root; }; -void filters_postconfig(void); struct f_inst *f_new_inst(void); struct f_inst *f_new_dynamic_attr(int type, int f_type, int code); /* Type as core knows it, type as filters know it, and code of dynamic attribute */ struct f_tree *f_new_tree(void); @@ -72,6 +71,7 @@ struct ea_list; struct rte; int f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struct linpool *tmp_pool, int flags); +int f_eval_int(struct f_inst *expr); char *filter_name(struct filter *filter); int filter_same(struct filter *new, struct filter *old); |