/[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.14 by jani, Fri Jan 10 15:36:47 2003 UTC revision 1.15 by likewise, Mon Jan 13 13:24:11 2003 UTC
# Line 274  tcp_input(struct pbuf *p, struct netif * Line 274  tcp_input(struct pbuf *p, struct netif *
274        } else {        } else {
275          err = ERR_OK;          err = ERR_OK;
276          /* If the application has registered a "sent" function to be          /* If the application has registered a "sent" function to be
277             called when new send buffer space is avaliable, we call it             called when new send buffer space is available, we call it
278             now. */             now. */
279          if(pcb->acked > 0) {          if(pcb->acked > 0) {
280            TCP_EVENT_SENT(pcb, pcb->acked, err);            TCP_EVENT_SENT(pcb, pcb->acked, err);
# Line 356  tcp_listen_input(struct tcp_pcb_listen * Line 356  tcp_listen_input(struct tcp_pcb_listen *
356      npcb = tcp_alloc(pcb->prio);      npcb = tcp_alloc(pcb->prio);
357      /* If a new PCB could not be created (probably due to lack of memory),      /* If a new PCB could not be created (probably due to lack of memory),
358         we don't do anything, but rely on the sender will retransmit the         we don't do anything, but rely on the sender will retransmit the
359         SYN at a time when we have more memory avaliable. */         SYN at a time when we have more memory available. */
360      if(npcb == NULL) {      if(npcb == NULL) {
361        DEBUGF(TCP_DEBUG, ("tcp_listen_input: could not allocate PCB\n"));        DEBUGF(TCP_DEBUG, ("tcp_listen_input: could not allocate PCB\n"));
362  #ifdef TCP_STATS  #ifdef TCP_STATS

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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