Revision b1c9d871 filter/filter.h

View differences:

filter/filter.h
31 31
#define arg1 a1.p
32 32
#define arg2 a2.p
33 33

  
34
struct prefix {
34
struct f_prefix {
35 35
  ip_addr ip;
36 36
  int len;
37 37
#define LEN_MASK 0xff
......
46 46
  union {
47 47
    int i;
48 48
    /*    ip_addr ip; Folded into prefix */	
49
    struct prefix px;
49
    struct f_prefix px;
50 50
    char *s;
51 51
    struct f_tree *t;
52 52
    struct adata *ad;
......
59 59
  struct f_inst *root;
60 60
};
61 61

  
62
void filters_postconfig(void);
63 62
struct f_inst *f_new_inst(void);
64 63
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 */
65 64
struct f_tree *f_new_tree(void);
......
72 71
struct rte;
73 72

  
74 73
int f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struct linpool *tmp_pool, int flags);
74
int f_eval_int(struct f_inst *expr);
75 75
char *filter_name(struct filter *filter);
76 76
int filter_same(struct filter *new, struct filter *old);
77 77

  

Also available in: Unified diff