Chuck,

That worked perfectly :)

Thank you all so much for your help.

I'm sure I'll be back with more questions during the course of this project!

Brandon

At 04:46 PM 4/4/2004, you wrote:
Brandon Erhart wrote:
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]"

Reply via email to