tenms_to_2flags
int flgs = tenms_to_2flags(s, s->ch_params.tx_tail);
s->hdlctx.numflags = tenms_to_2flags(s, s->ch_params.tx_delay);