ethpipe.c: tx_write_ptr type is only short type and clear tx_write_ptr when initialize