CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/12/12 14:42:58
Modified files:
usr.sbin/bgpd : rde.c rde.h rde_adjout.c rde_peer.c
rde_update.c
Log message:
Perpare the adjout_prefix_dump upcalls for the next round of Adj-RIB-Out rework.
Both the peer and the pt_entry are now passed to the upcall since these
values will be removed from struct adjout_prefix.
Adjust all upcalls accordingly and also adjust other code parts of the
'show rib out' control message handling. Since now the pt_entry is passed
to the callbacks the other code also should do direct pt_lookup calls.
With this adjout_prefix_lookup() and adjout_prefix_match() become unused.
In up_generate_default() the adjout_prefix_lookup() can be removed and
replaced with a adjout_prefix_first() call after the pte is fetched.
OK tb@