__AMT_MSG_MAX
if (amth->type >= __AMT_MSG_MAX || !amth->type)
#define AMT_MSG_MAX (__AMT_MSG_MAX - 1)