I want to explicitly get it out of those states, without any help from the other end. What must I modify to achieve this?
See tcp_usrclosed() in /usr/src/sys/netinet/tcp_usrreq.c. Replace that code with something like (untested):
tp->t_state = TCPS_CLOSED; tp = tcp_close(tp); return tp;
...and you'll break your TCP/IP stack in the fashion you've asked for. If other things break too, you can keep all of the pieces. :-)
-- -Chuck
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"