]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zserv.c
zebra: call zapi message handler with a batch
authorMark Stapp <mjs@voltanet.io>
Wed, 8 Apr 2020 20:39:49 +0000 (16:39 -0400)
committerMark Stapp <mjs@voltanet.io>
Tue, 2 Jun 2020 12:20:54 +0000 (08:20 -0400)
commit79b3664a67fef8bad76439a2f34e608b6c475d85
tree426dfbb8ef1962869ca8726179dfb55cef7f5591
parentaa9002a5f5ef55e4c99c99601b4aa5a164d08bbf
zebra: call zapi message handler with a batch

The zapi code processes a batch of incoming messages, using a
fifo. Hand the entire batch into the main zebra handling code,
and let it loop through the individual messages.

Divert the special OPAQUE messages from the normal processing
flow, and offer them to the new zebra_opaque module instead.

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