]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add an api to process/clean the pending dplane queue 7644/head
authorMark Stapp <mjs@voltanet.io>
Mon, 30 Nov 2020 21:42:18 +0000 (16:42 -0500)
committerMark Stapp <mjs@voltanet.io>
Mon, 30 Nov 2020 21:42:18 +0000 (16:42 -0500)
commitaa21da071c85678170da3b6d51c18f6d5053906a
treee4c5d4f457787875f7e6c19ff23fc47ff0523d04
parent78695ce3a4d4faf6930f057b55c316b74a7426eb
zebra: add an api to process/clean the pending dplane queue

Add an api that allows a caller in the zebra main pthread to
process the queue of pending dplane updates. The caller supplies
a function to call to test each pending context. Selected
contexts are dequeued, and freed without being processed.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_dplane.c
zebra/zebra_dplane.h