this macro suggests that it would be better to
define tcp states as a set of individual bits, so
one does not have to do arithmetics on state IDs.
cheers
luigi
> Currently in tcp_fsm.h its defined as :
> #define TCPS_HAVERCVDFIN(s) ((s) >= TCPS_TIME_WAIT)
>
> when IMHO it should be: (to consider all possible cases of having recd a FIN?)
>
> #define TCPS_HAVERCVDFIN(s) ( ((s) >= TCPS_TIME_WAIT) || ((s) ==
>TCPS_CLOSE_WAIT) || ((s) == TCPS_LAST_ACK) || ((s) == TCPS_CLOSING) )
>
> -AG
>
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at
>http://webmail.netscape.com/
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message