smt_add_frame_len
smt_add_frame_len(mb,len) ; /* adjust length fields */
static void smt_add_frame_len(SMbuf *mb, int len);