- struct th *t_rcv_next; /* -> first el on rcv queue */
- struct th *t_rcv_prev; /* -> last el on rcv queue */
- struct tcb *t_tcb_next; /* -> next tcb */
- struct tcb *t_tcb_prev; /* -> prev tcb */
- struct ucb *t_ucb; /* -> ucb */
- struct mbuf *t_rcv_unack; /* -> unacked message queue */
+ u_short
+ ack_due:1, /* must we send ACK */
+ cancelled:1, /* retransmit timer cancelled */
+ dropped_txt:1, /* dropped incoming data */
+ fin_rcvd:1, /* FIN received */
+ force_one:1, /* force sending of one byte */
+ new_window:1, /* received new window size */
+ rexmt:1, /* this msg is a retransmission */
+ snd_fin:1, /* FIN should be sent */
+ snd_rst:1, /* RST should be sent */
+ snd_urg:1, /* urgent data to send */
+ syn_acked:1, /* SYN has been ACKed */
+ syn_rcvd:1, /* SYN has been received */
+ usr_closed:1, /* user has closed connection */
+ waited_2_ml:1, /* wait time for FIN ACK is up */
+ net_keep:1, /* don't free this net input */
+ usr_abort:1; /* 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 */