]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Add interface types
authorIgor Putovny <igor.putovny@nic.cz>
Fri, 1 Aug 2025 11:39:01 +0000 (13:39 +0200)
committerIgor Putovny <igor.putovny@nic.cz>
Fri, 1 Aug 2025 11:44:00 +0000 (13:44 +0200)
nest/iface.h

index 93441b396922dc940bb55249dcf46b7a64892ac0..1ae37bb70622e4b746a4a960a92bf2d9fd3618f4 100644 (file)
@@ -45,6 +45,11 @@ struct iface {
   struct rta *attrs;
 };
 
+enum iface_type {
+  IFACE_TYPE_VXLAN,
+  IFACE_TYPE_BRIDGE,
+};
+
 #define IF_UP 1                                /* Currently just IF_ADMIN_UP */
 #define IF_MULTIACCESS 2
 #define IF_BROADCAST 4