NG_CMDSTRSIZ
snprintf((char *)msg.header.cmdstr, NG_CMDSTRSIZ, "cmd%d", cmd);
u_char cmdstr[NG_CMDSTRSIZ]; /* cmd string + \0 */