summaryrefslogtreecommitdiffstats
path: root/tools/gen_northbound_callbacks.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-05-19 04:26:53 +0200
committerRenato Westphal <renato@opensourcerouting.org>2020-05-16 04:47:43 +0200
commit78769ea20595351136cff1fcf3ce0448b0cd4e21 (patch)
treec45a3c8b6bbe1132c029273a66be0d1a088331cf /tools/gen_northbound_callbacks.c
parentzebra: skip link-local routes when iterating over the RIB using the NB (diff)
downloadfrr-78769ea20595351136cff1fcf3ce0448b0cd4e21.tar.xz
frr-78769ea20595351136cff1fcf3ce0448b0cd4e21.zip
zebra: optimize the RIB get_next() callback
When fetching the next route node in the RIB, skip the empty ones to avoid calling other northbound callbacks later unnecessarily. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tools/gen_northbound_callbacks.c')
0 files changed, 0 insertions, 0 deletions