tx_advance
tail = tx_advance(lp, tail);
t = tx_advance(lp, lp->tx_tail);
new_tail = tx_advance(lp, tail);
head = tx_advance(lp, head);