/[lwip]/lwip/src/core/tcp_in.c
ViewVC logotype

Diff of /lwip/src/core/tcp_in.c

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

revision 1.30.2.1 by marcbou, Thu Jun 19 14:26:22 2003 UTC revision 1.30.2.2 by kieranm, Thu Aug 21 09:59:21 2003 UTC
# Line 396  tcp_listen_input(struct tcp_pcb_listen * Line 396  tcp_listen_input(struct tcp_pcb_listen *
396  #if LWIP_CALLBACK_API  #if LWIP_CALLBACK_API
397      npcb->accept = pcb->accept;      npcb->accept = pcb->accept;
398  #endif /* LWIP_CALLBACK_API */  #endif /* LWIP_CALLBACK_API */
399        /* inherit socket options */
400        npcb->so_options = pcb->so_options & (SOF_DEBUG|SOF_DONTROUTE|SOF_KEEPALIVE|SOF_OOBINLINE|SOF_LINGER);
401      /* Register the new PCB so that we can begin receiving segments      /* Register the new PCB so that we can begin receiving segments
402         for it. */         for it. */
403      TCP_REG(&tcp_active_pcbs, npcb);      TCP_REG(&tcp_active_pcbs, npcb);
# Line 483  tcp_process(struct tcp_pcb *pcb) Line 484  tcp_process(struct tcp_pcb *pcb)
484    
485    /* Update the PCB (in)activity timer. */    /* Update the PCB (in)activity timer. */
486    pcb->tmr = tcp_ticks;    pcb->tmr = tcp_ticks;
487      pcb->keep_cnt = 0;
488    
489    /* Do different things depending on the TCP state. */    /* Do different things depending on the TCP state. */
490    switch (pcb->state) {    switch (pcb->state) {

Legend:
Removed from v.1.30.2.1  
changed lines
  Added in v.1.30.2.2

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