]> git.puffer.fish Git - mirror/frr.git/commit
lib, zebra: include source client zapi info in opaque messages
authorMark Stapp <mjs@labn.net>
Mon, 29 May 2023 17:04:24 +0000 (13:04 -0400)
committerMark Stapp <mjs@labn.net>
Fri, 23 Jun 2023 12:27:42 +0000 (08:27 -0400)
commitef8e3ac02c4482bd6ef255578e325a98ec9c8e86
tree9f1ffc6088e53a52085e503566c6ebb8d935891e
parent3cbc7150bb2d7b9a192bd047ee258986b8eb2c44
lib, zebra: include source client zapi info in opaque messages

Include the sending zapi client info (proto, instance, and
session id) in each opaque zapi message. Add opaque 'init'
apis for clients who want to encode their opaque data inline,
into the zclient's internal stream buffer. Use these init apis
in the TE/link-state lib code, instead of hand-coding the
zapi opaque header info.

Signed-off-by: Mark Stapp <mjs@labn.net>
lib/link_state.c
lib/zclient.c
lib/zclient.h
zebra/zebra_opaque.c