0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00
bird/filter
Maria Matejka 17f91f9e6e Explicit definition structures of route attributes
Changes in internal API:

* Every route attribute must be defined as struct ea_class somewhere.
* Registration of route attributes known at startup must be done by
  ea_register_init() from protocol build functions.
* Every attribute has now its symbol registered in a global symbol table
  defined as SYM_ATTRIBUTE
* All attribute ID's are dynamically allocated.
* Attribute value custom formatting hook is defined in the ea_class.
* Attribute names are the same for display and filters, always prefixed
  by protocol name.

Also added some unit testing code for filters with route attributes.
2022-05-04 15:39:19 +02:00
..
config.Y Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
data.c Filters always allocate from tmp_linpool 2022-05-04 15:37:41 +02:00
data.h Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
decl.m4 Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
f-inst.c Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
f-inst.h Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
f-util.c Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
filter_test.c Filters always allocate from tmp_linpool 2022-05-04 15:37:41 +02:00
filter.c Filters always allocate from tmp_linpool 2022-05-04 15:37:41 +02:00
filter.h Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
Makefile Filter: Pre-evaluation of constant expressions 2019-07-02 10:45:53 +02:00
test-reconf-begin.conf Filters: comparison of functions and filters caching 2019-02-26 16:44:24 +01:00
test-reconf-end.conf Filters: comparison of functions and filters caching 2019-02-26 16:44:24 +01:00
test.conf Explicit definition structures of route attributes 2022-05-04 15:39:19 +02:00
test.conf2 Filter: Remove quitbird command 2020-05-02 02:47:18 +02:00
test.conf.inc filter/test.conf: Replace print func with assert and format 2016-11-16 12:22:01 +01:00
tree_test.c Replaced custom linpools in tests for the common tmp_linpool 2022-03-02 12:13:49 +01:00
tree.c Filter: Recursive filter iteration code 2021-02-07 19:21:42 +01:00
trie_test.c Replaced custom linpools in tests for the common tmp_linpool 2022-03-02 12:13:49 +01:00
trie.c Trie: Fix trie format 2022-02-06 23:27:13 +01:00