]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zserv.h
zebra: add struct zmsghdr
[mirror_frr.git] / zebra / zserv.h
index 8519693726e3bd95f92125cc8fb457a0c8eaf105..a09baeff7a3e1a75877bb3622b699f57b446e081 100644 (file)
@@ -129,6 +129,15 @@ struct zserv {
        int last_write_cmd;
 };
 
+/* ZAPI protocol message header */
+struct zmsghdr {
+       uint16_t length;
+       uint8_t marker;
+       uint8_t version;
+       uint32_t vrf_id;
+       uint16_t command;
+};
+
 /* Zebra instance */
 struct zebra_t {
        /* Thread master */