From 420489e8423a6ba287a3353d576f6986eabb7001 Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Sat, 4 Jun 2022 18:48:56 +0800 Subject: [PATCH] other: naming optimization for exp wnds --- include/common/tmsg.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 1b58a3bf45..b2ee07a4be 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -2401,9 +2401,10 @@ typedef struct { STimeWindow queryWindow; } SVGetTsmaExpWndsReq; -#define SMA_WND_EXPIRE_FLAG (0x1) -#define SMA_WND_IS_EXPIRE(flag) (((flag)&SMA_WND_EXPIRE_FLAG) != 0) -#define SMA_WND_SET_EXPIRE(flag) ((flag) |= SMA_WND_EXPIRE_FLAG) +#define SMA_WNDS_EXPIRE_FLAG (0x1) +#define SMA_WNDS_IS_EXPIRE(flag) (((flag)&EXP_WNDS_EXPIRE_FLAG) != 0) +#define SMA_WNDS_SET_EXPIRE(flag) ((flag) |= EXP_WNDS_EXPIRE_FLAG) + typedef struct { int64_t indexUid; int8_t flags; // 0x1 all window expired -- GitLab