On 03/21 02:55, Eric Wong wrote: > TCP states names/numbers seem stable for each OS, but differ in > name and numeric values between them. So I started upon this > patch series for raindrops last week: > > https://bogomips.org/raindrops-public/[email protected]/T/ > > And things seem to be alright, for the most part. Anyways > here's a proposed patch for unicorn which takes advantage of > the above (proposed) changes for raindrops and will allow > unicorn to support check_client_connection > > Also Cc:-ing Jeremy to see if he has any input on the OpenBSD > side of things.
OpenBSD seems to support the constants you are using in raindrops: #define TCPS_CLOSED 0 /* closed */ #define TCPS_LISTEN 1 /* listening for connection */ #define TCPS_SYN_SENT 2 /* active, have sent syn */ #define TCPS_SYN_RECEIVED 3 /* have sent and received syn */ #define TCPS_ESTABLISHED 4 /* established */ #define TCPS_CLOSE_WAIT 5 /* rcvd fin, waiting for close */ #define TCPS_FIN_WAIT_1 6 /* have closed, sent fin */ #define TCPS_CLOSING 7 /* closed xchd FIN; await ACK */ #define TCPS_LAST_ACK 8 /* had fin and close; await FIN ACK */ #define TCPS_FIN_WAIT_2 9 /* have closed, fin is acked */ #define TCPS_TIME_WAIT 10 /* in 2*msl quiet wait after close */ I'm fine with dropping raindrops as a unicorn dependency and making it optional if it isn't necessary for correct operation. Thanks, Jeremy -- unsubscribe: [email protected] archive: https://bogomips.org/unicorn-public/
