CTLSTAT_FLAG_MASK
#define F_MASK(ctx) ((ctx)->flags & CTLSTAT_FLAG_MASK)
ctx.flags |= CTLSTAT_FLAG_MASK;