Maria Matejka
d24a6ad4c7
Split route data structure to storage (ro) / manipulation (rw) structures.
...
This should help a lot with keeping the route machinery and allocations
clean. This commit also changes behaviour of rte_update() with cached
rta. Newly, calling rte_update() keeps the number of rta references.
2021-03-21 00:09:17 +01:00
Maria Matejka
415d6e299c
Route: moved rte_src pointer from rta to rte
...
It is an auxiliary key in the routing table, not a route attribute.
2021-03-20 23:53:56 +01:00
Maria Matejka
3357e0a199
Route export: More elegant export dispatcher.
...
Also:
* Feeding request by net.
* Passing only net_addr in export structure.
* Cleanup of krt_replace_rte() call.
2021-03-20 23:45:32 +01:00
Maria Matejka
45475df1bc
Internal API change: passing all the rt_notify() data as a single structure.
2021-03-20 23:24:12 +01:00
Maria Matejka
cda7a1936d
Preference moved to RTA and set explicitly in protocols
2021-03-20 20:51:53 +01:00
Maria Matejka
aac08f12a7
Route import API redefinition.
...
Hidden rte_get_temp() into rte_update().
Split rte_update() / rte_withdraw().
2021-03-20 20:41:41 +01:00
Maria Matejka
dc042d87cb
Perf: changed route update pattern to be more like common protocols
2020-03-12 09:26:05 +01:00
Ondrej Zajicek (work)
759b204be3
Lib: Support for 64-bit numbers in bvsnprintf()
...
Use 'l' for s64/u64 instead of for long/ulong, as that is much more
useful. Also make number() correct with regard to signed/unsigned
typecasts.
2019-10-09 17:53:23 +02:00
Maria Matejka
6dda6931d1
Perf: allow testing with cached route attributes.
2019-10-09 17:47:14 +02:00
Maria Matejka
2f02c25e36
Perf: fixed stupid allocation bug
2019-03-15 16:34:26 +01:00
Maria Matejka
e85e37d91d
Perf: Prune the table after every loop to have clean state.
2019-01-31 15:05:40 +01:00
Maria Matejka
7411b694c3
Perf: Write also BIRD version to have all the needed data in the logfile
2019-01-31 15:03:43 +01:00
Maria Matějka
82b742533b
Perf: Protocol to measure BIRD performance internally
...
This protocol is highly experimental and nobody should use it in
production. Anyway it may help you getting some insight into what eats
so much time in filter processing.
2018-12-18 15:08:31 +01:00