DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: tcpdrop(8) for DragonFly


From: "Andre Nathan" <andre@xxxxxxxxxxxxxxx>
Date: Sat, 13 Nov 2004 21:35:56 -0200 (BRST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]