/[lwip]/lwip/src/include/lwip/tcp.h
ViewVC logotype

Diff of /lwip/src/include/lwip/tcp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by likewise, Tue Jan 14 12:54:02 2003 UTC revision 1.10 by jani, Fri Jan 17 14:18:55 2003 UTC
# Line 202  struct tcp_pcb { Line 202  struct tcp_pcb {
202    
203    struct ip_addr local_ip;    struct ip_addr local_ip;
204    u16_t local_port;    u16_t local_port;
205      enum tcp_state state;   /* TCP state */
206        
207    struct ip_addr remote_ip;    struct ip_addr remote_ip;
208    u16_t remote_port;    u16_t remote_port;
# Line 210  struct tcp_pcb { Line 211  struct tcp_pcb {
211    u32_t rcv_nxt;   /* next seqno expected */    u32_t rcv_nxt;   /* next seqno expected */
212    u16_t rcv_wnd;   /* receiver window */    u16_t rcv_wnd;   /* receiver window */
213    
   enum tcp_state state;   /* TCP state */  
214        
215    /* Timers */    /* Timers */
216    u32_t tmr;    u32_t tmr;
# Line 293  struct tcp_pcb_listen { Line 293  struct tcp_pcb_listen {
293    void *callback_arg;    void *callback_arg;
294        
295    struct ip_addr local_ip;    struct ip_addr local_ip;
296    u16_t local_port;      u16_t local_port;
297      /* Even if state is obviously LISTEN this is here for
298       * field compatibility with tpc_pcb to which it is cast sometimes
299       * Until a cleaner solution emerges this is here.FIXME
300       */
301      enum tcp_state state;   /* TCP state */
302    
303  #if LWIP_CALLBACK_API  #if LWIP_CALLBACK_API
304    /* Function to call when a listener has been connected. */    /* Function to call when a listener has been connected. */

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26