common: introduce macro for bit declarations

pull/2205/head
Victor Julien 9 years ago
parent 0f6c8806a0
commit 5c6ffe5653

@ -301,6 +301,9 @@
#define MAX(x, y) (((x)<(y))?(y):(x))
#endif
#define BIT_U32(n) (1UL << (n))
#define BIT_U64(n) (1ULL << (n))
typedef enum PacketProfileDetectId_ {
PROF_DETECT_MPM,
PROF_DETECT_MPM_PACKET, /* PKT MPM */

Loading…
Cancel
Save