diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-04-06 16:10:13 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-06-02 08:20:54 -0400 |
| commit | ff491140956129580a7d68ea8510b521cce80c9d (patch) | |
| tree | 076b1f5d5ab772763c5727e8c5f48a22fdb7fdfd /lib/log.c | |
| parent | f8c511cddb9bc54d190d8bfcded339ed7f3ec219 (diff) | |
lib: add OPAQUE zapi message
Add a zapi message type designed to carry opaque data. Add
'send' api, and prototype for client handler function. Also
add registration/unreg messages, so that clients can 'subscribe'
to receive these messages as they're passing through zebra.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/log.c')
| -rw-r--r-- | lib/log.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -443,7 +443,10 @@ static const struct zebra_desc_table command_types[] = { DESC_ENTRY(ZEBRA_MLAG_CLIENT_UNREGISTER), DESC_ENTRY(ZEBRA_MLAG_FORWARD_MSG), DESC_ENTRY(ZEBRA_ERROR), - DESC_ENTRY(ZEBRA_CLIENT_CAPABILITIES)}; + DESC_ENTRY(ZEBRA_CLIENT_CAPABILITIES), + DESC_ENTRY(ZEBRA_OPAQUE_MESSAGE), + DESC_ENTRY(ZEBRA_OPAQUE_REGISTER), + DESC_ENTRY(ZEBRA_OPAQUE_UNREGISTER)}; #undef DESC_ENTRY static const struct zebra_desc_table unknown = {0, "unknown", '?'}; |
