tcpdrop(8) for DragonFly

Andre Nathan andre at digirati.com.br
Sat Nov 13 15:36:13 PST 2004


Matthew Dillon said:
>     The appropriate network protocol
>     message must be constructed dispatched to the tcp protocol thread
>     responsible for that tcpcb so the drop doesn't race other protocol
>     operations.

Would you mind pointing me to some documentation on this, or maybe to some
example code? Would it be something like the messages sent in tcp_drain()
or in tcp_close(), ie,

msg = malloc(...);
lwkt_initmsg(...);
/* fill message */
lwkt_send(...);

?

Thanks,
Andre





More information about the Submit mailing list