nat: use correct data types for memory sizes
[vpp.git] / src / plugins / lacp / protocol.h
index 05a3f04..347e944 100644 (file)
@@ -61,6 +61,10 @@ typedef enum
   _(6, DEFAULTED, "defaulted")               \
   _(7, EXPIRED, "expired")
 
+#define LACP_STEADY_STATE (LACP_STATE_SYNCHRONIZATION | \
+                          LACP_STATE_COLLECTING |      \
+                          LACP_STATE_DISTRIBUTING)
+
 typedef enum
 {
 #define _(a, b, c) LACP_STATE_##b = (1 << a),
@@ -69,7 +73,7 @@ typedef enum
 } lacp_state_t;
 
 #define foreach_lacp_state_flag                                \
-  _(0, LACP_STATE_LACP_ACTIViTY, "activity")           \
+  _(0, LACP_STATE_LACP_ACTIVITY, "activity")           \
   _(1, LACP_STATE_LACP_TIMEOUT, "lacp timeout")         \
   _(2, LACP_STATE_AGGREGATION, "aggregation")           \
   _(3, LACP_STATE_SYNCHRONIZATION, "synchronization")   \