1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Filters: comparison of functions and filters caching

This commit is contained in:
Maria Matejka
2019-02-26 16:44:24 +01:00
parent 0d12aa4836
commit f249d0b84c
10 changed files with 108 additions and 14 deletions

View File

@@ -31,12 +31,10 @@ const char *f_instruction_name(enum f_instruction_code fi);
struct f_inst *f_clear_local_vars(struct f_inst *decls);
/* Filter structures for execution */
struct f_line;
/* Line of instructions to be unconditionally executed one after another */
struct f_line {
uint len; /* Line length */
u16 args; /* Function: Args required */
u8 args; /* Function: Args required */
struct f_line_item items[0]; /* The items themselves */
};