ACTION_MASK
action &= ACTION_MASK;
if ((ns->state & ACTION_MASK) &&
#define NS_STATE(x) ((x) & ~ACTION_MASK)