summaryrefslogtreecommitdiff
path: root/zebra/zebra_l2.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_l2.h')
-rw-r--r--zebra/zebra_l2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/zebra/zebra_l2.h b/zebra/zebra_l2.h
index 588917f4c0..ad5f5eeee0 100644
--- a/zebra/zebra_l2.h
+++ b/zebra/zebra_l2.h
@@ -146,6 +146,17 @@ union zebra_l2if_info {
struct zebra_l2info_gre gre;
};
+struct zebra_vxlan_vlan {
+ uint8_t state;
+ uint32_t vrange;
+ vlanid_t vid;
+};
+
+struct zebra_vxlan_vlan_array {
+ uint16_t count;
+ struct zebra_vxlan_vlan vlans[0];
+};
+
/* NOTE: These macros are to be invoked only in the "correct" context.
* IOW, the macro VNI_FROM_ZEBRA_IF() will assume the interface is
* of type ZEBRA_IF_VXLAN.