This updated patch against current CVS implements TCP segmentation offloading for RTL8139 in C+ mode. I fixed a couple of problems in implementation (wrong sequence number calculation), and now TCP performance seem to be normal.
Dependency on slirp.h header is now gone.
Again tested with linux (ethtool -K eth0 tx on sg on tso on); please apply.