]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/if.h
lib: qobj: register ifaces, routemaps & keychains
[mirror_frr.git] / lib / if.h
index d1875e695ae56b079cfe2b792f2c194f736c9d57..57062cd3fc3e842251e445f3a5d80b792a49abba 100644 (file)
--- a/lib/if.h
+++ b/lib/if.h
@@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA.  */
 #include "zebra.h"
 #include "linklist.h"
 #include "memory.h"
+#include "qobj.h"
 
 DECLARE_MTYPE(IF)
 DECLARE_MTYPE(CONNECTED_LABEL)
@@ -267,7 +268,10 @@ struct interface
 
   struct route_node *node;
   vrf_id_t vrf_id;
+
+  QOBJ_FIELDS
 };
+DECLARE_QOBJ_TYPE(interface)
 
 /* Connected address structure. */
 struct connected