- u_short tc_flags;
-#define TC_ACK_DUE 0x0001 /* must we send ACK */
-#define TC_CANCELLED 0x0002 /* retransmit timer cancelled */
-#define TC_DROPPED_TXT 0x0004 /* dropped incoming data */
-#define TC_FIN_RCVD 0x0008 /* FIN received */
-#define TC_FORCE_ONE 0x0010 /* force sending of one byte */
-#define TC_NEW_WINDOW 0x0020 /* received new window size */
-#define TC_REXMT 0x0040 /* this msg is a retransmission */
-#define TC_SND_FIN 0x0080 /* FIN should be sent */
-#define TC_SND_RST 0x0100 /* RST should be sent */
-#define TC_SND_URG 0x0200 /* urgent data to send */
-#define TC_SYN_ACKED 0x0400 /* SYN has been ACKed */
-#define TC_SYN_RCVD 0x0800 /* SYN has been received */
-#define TC_USR_CLOSED 0x1000 /* user has closed connection */
-#define TC_WAITED_2_ML 0x2000 /* wait time for FIN ACK is up */
-#define TC_NET_KEEP 0x4000 /* don't free this net input */
-#define TC_USR_ABORT 0x8000 /* user has closed and does not expect
- to receive any more data */
-
- u_short t_lport; /* local port */
- u_short t_fport; /* foreign port */
- u_char t_state; /* state of this connection */
- u_char t_xmtime; /* current rexmt time */
-
- /* timers */
-
- u_char t_init; /* initialization too long */
- u_char t_rexmt; /* retransmission */
- u_char t_rexmttl; /* retransmit too long */
- u_char t_persist; /* retransmit persistance */
- u_char t_finack; /* fin acknowledged */
- u_char t_xmt; /* round trip transmission time */
-};