vcl/ldp: select cleanup/improvements
[vpp.git] / src / vcl / vcl_private.h
index 0315a62..dd1d0ce 100644 (file)
@@ -90,6 +90,11 @@ typedef struct
   u32 et_mask;
 } vppcom_epoll_t;
 
+/* Select uses the vcl_si_set as if a clib_bitmap. Make sure they are the
+ * same size */
+STATIC_ASSERT (sizeof (clib_bitmap_t) == sizeof (vcl_si_set),
+              "vppcom bitmap size mismatch");
+
 typedef struct
 {
   u8 is_ip4;