diff options
author | Maria Matejka <mq@ucw.cz> | 2021-09-16 11:00:19 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-10-13 19:09:04 +0200 |
commit | 541881bedf391d9a19f071b856dcbd55e850dece (patch) | |
tree | 2637b62e5190100096a559d9019abcfa36c11064 /nest/proto-hooks.c | |
parent | ddd89ba12d03d648e9bb820c6a4f48b1f96f15d2 (diff) |
RIP fixup + dropping the tmp_attrs mechanism as obsolete
Diffstat (limited to 'nest/proto-hooks.c')
-rw-r--r-- | nest/proto-hooks.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/nest/proto-hooks.c b/nest/proto-hooks.c index bc88b4b4..0cd4ac37 100644 --- a/nest/proto-hooks.c +++ b/nest/proto-hooks.c @@ -228,36 +228,6 @@ void neigh_notify(neighbor *neigh) { DUMMY; } /** - * make_tmp_attrs - convert embedded attributes to temporary ones - * @e: route entry - * @pool: linear pool to allocate attribute memory in - * - * This hook is called by the routing table functions if they need - * to convert the protocol attributes embedded directly in the &rte - * to temporary extended attributes in order to distribute them - * to other protocols or to filters. make_tmp_attrs() creates - * an &ea_list in the linear pool @pool, fills it with values of the - * temporary attributes and returns a pointer to it. - */ -ea_list *make_tmp_attrs(rte *e, struct linpool *pool) -{ DUMMY; } - -/** - * store_tmp_attrs - convert temporary attributes to embedded ones - * @e: route entry - * @attrs: temporary attributes to be converted - * - * This hook is an exact opposite of make_tmp_attrs() -- it takes - * a list of extended attributes and converts them to attributes - * embedded in the &rte corresponding to this protocol. - * - * You must be prepared for any of the attributes being missing - * from the list and use default values instead. - */ -void store_tmp_attrs(rte *e, ea_list *attrs) -{ DUMMY; } - -/** * preexport - pre-filtering decisions before route export * @p: protocol instance the route is going to be exported to * @e: the route in question |