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

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

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

revision 1.2 by jani, Thu Nov 14 12:20:37 2002 UTC revision 1.3 by jani, Wed Dec 18 10:40:01 2002 UTC
# Line 167  tcp_enqueue(struct tcp_pcb *pcb, void *a Line 167  tcp_enqueue(struct tcp_pcb *pcb, void *a
167        }        }
168        ++queuelen;        ++queuelen;
169        if(arg != NULL) {        if(arg != NULL) {
170          bcopy(ptr, seg->p->payload, seglen);          memcpy(seg->p->payload, ptr, seglen);
171        }        }
172        seg->dataptr = seg->p->payload;        seg->dataptr = seg->p->payload;
173      } else {      } else {
# Line 222  tcp_enqueue(struct tcp_pcb *pcb, void *a Line 222  tcp_enqueue(struct tcp_pcb *pcb, void *a
222        /* Copy options into data portion of segment.        /* Copy options into data portion of segment.
223           Options can thus only be sent in non data carrying           Options can thus only be sent in non data carrying
224           segments such as SYN|ACK. */           segments such as SYN|ACK. */
225        bcopy(optdata, seg->dataptr, optlen);        memcpy(seg->dataptr, optdata, optlen);
226      }      }
227      DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_enqueue: queueing %lu:%lu (0x%x)\n",      DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_enqueue: queueing %lu:%lu (0x%x)\n",
228                                ntohl(seg->tcphdr->seqno),                                ntohl(seg->tcphdr->seqno),

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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