| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | tcp_out.c | 65 len, &seg->chksum, &seg->chksum_swapped); \ 171 seg->p = p; in tcp_create_segment() 191 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment() 199 return seg; in tcp_create_segment() 611 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg))); in tcp_write() 784 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), in tcp_enqueue_flags() 994 snd_nxt = ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); in tcp_output() 1120 seg->p->payload = seg->tcphdr; in tcp_output_segment() 1143 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment() 1248 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next); in tcp_rexmit_rto() [all …]
|
| A D | tcp.c | 1128 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free() argument 1130 while (seg != NULL) { in tcp_segs_free() 1132 tcp_seg_free(seg); in tcp_segs_free() 1133 seg = next; in tcp_segs_free() 1143 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free() argument 1145 if (seg != NULL) { in tcp_seg_free() 1146 if (seg->p != NULL) { in tcp_seg_free() 1147 pbuf_free(seg->p); in tcp_seg_free() 1149 seg->p = NULL; in tcp_seg_free() 1152 memp_free(MEMP_TCP_SEG, seg); in tcp_seg_free() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | tcp_out.c | 66 len, &seg->chksum, &seg->chksum_swapped); \ 185 seg->p = p; in tcp_create_segment() 192 seg->chksum = 0; in tcp_create_segment() 206 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment() 214 return seg; in tcp_create_segment() 653 lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg))); in tcp_write() 1274 seg->p->payload = seg->tcphdr; in tcp_output_segment() 1287 seg->p->tot_len == (TCPH_HDRLEN(seg->tcphdr) * 4)); in tcp_output_segment() 1295 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment() 1408 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next); in tcp_rexmit_rto() [all …]
|
| A D | tcp.c | 1375 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free() argument 1377 while (seg != NULL) { in tcp_segs_free() 1379 tcp_seg_free(seg); in tcp_segs_free() 1380 seg = next; in tcp_segs_free() 1390 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free() argument 1392 if (seg != NULL) { in tcp_seg_free() 1393 if (seg->p != NULL) { in tcp_seg_free() 1394 pbuf_free(seg->p); in tcp_seg_free() 1396 seg->p = NULL; in tcp_seg_free() 1399 memp_free(MEMP_TCP_SEG, seg); in tcp_seg_free() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | tcp_out.c | 99 len, &seg->chksum, &seg->chksum_swapped); \ 175 seg->p = p; in tcp_create_segment() 182 seg->chksum = 0; in tcp_create_segment() 196 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment() 204 return seg; in tcp_create_segment() 1373 snd_nxt = lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); in tcp_output() 1557 seg->p->payload = seg->tcphdr; in tcp_output_segment() 1585 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment() 1615 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment() 1645 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next) { in tcp_rexmit_rto_prepare() [all …]
|
| A D | tcp.c | 1608 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free() argument 1610 while (seg != NULL) { in tcp_segs_free() 1612 tcp_seg_free(seg); in tcp_segs_free() 1613 seg = next; in tcp_segs_free() 1623 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free() argument 1625 if (seg != NULL) { in tcp_seg_free() 1626 if (seg->p != NULL) { in tcp_seg_free() 1627 pbuf_free(seg->p); in tcp_seg_free() 1629 seg->p = NULL; in tcp_seg_free() 1632 memp_free(MEMP_TCP_SEG, seg); in tcp_seg_free() [all …]
|
| /components/net/lwip/lwip-1.4.1/test/unit/tcp/ |
| A D | test_tcp_oos.c | 32 while(seg != NULL) { in tcp_oos_count() 34 seg = seg->next; in tcp_oos_count() 44 while(seg != NULL) { in tcp_oos_pbuf_count() 45 num += pbuf_clen(seg->p); in tcp_oos_pbuf_count() 46 seg = seg->next; in tcp_oos_pbuf_count() 64 while(seg != NULL) { in tcp_oos_seg_seqno() 69 seg = seg->next; in tcp_oos_seg_seqno() 88 while(seg != NULL) { in tcp_oos_seg_tcplen() 93 seg = seg->next; in tcp_oos_seg_tcplen() 111 while(seg != NULL) { in tcp_oos_tcplen() [all …]
|
| /components/net/lwip/lwip-2.1.2/test/unit/tcp/ |
| A D | test_tcp_oos.c | 32 while(seg != NULL) { in tcp_oos_count() 34 seg = seg->next; in tcp_oos_count() 45 while(seg != NULL) { in tcp_oos_pbuf_count() 47 seg = seg->next; in tcp_oos_pbuf_count() 66 while(seg != NULL) { in tcp_oos_seg_seqno() 71 seg = seg->next; in tcp_oos_seg_seqno() 90 while(seg != NULL) { in tcp_oos_seg_tcplen() 95 seg = seg->next; in tcp_oos_seg_tcplen() 113 while(seg != NULL) { in tcp_oos_tcplen() 114 len += TCP_TCPLEN(seg); in tcp_oos_tcplen() [all …]
|
| /components/net/lwip/lwip-2.0.3/test/unit/tcp/ |
| A D | test_tcp_oos.c | 32 while(seg != NULL) { in tcp_oos_count() 34 seg = seg->next; in tcp_oos_count() 45 while(seg != NULL) { in tcp_oos_pbuf_count() 47 seg = seg->next; in tcp_oos_pbuf_count() 66 while(seg != NULL) { in tcp_oos_seg_seqno() 71 seg = seg->next; in tcp_oos_seg_seqno() 90 while(seg != NULL) { in tcp_oos_seg_tcplen() 95 seg = seg->next; in tcp_oos_seg_tcplen() 113 while(seg != NULL) { in tcp_oos_tcplen() 114 len += TCP_TCPLEN(seg); in tcp_oos_tcplen() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | tcp_impl.h | 184 #define TCP_TCPLEN(seg) ((seg)->len + ((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0)) argument 419 void tcp_segs_free(struct tcp_seg *seg); 420 void tcp_seg_free(struct tcp_seg *seg); 421 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg); 442 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/priv/ |
| A D | tcp_priv.h | 152 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1… argument 429 void tcp_segs_free(struct tcp_seg *seg); 430 void tcp_seg_free(struct tcp_seg *seg); 431 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg); 452 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/priv/ |
| A D | tcp_priv.h | 155 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1… argument 444 void tcp_segs_free(struct tcp_seg *seg); 445 void tcp_seg_free(struct tcp_seg *seg); 446 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg); 465 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);
|
| /components/net/lwip/lwip-2.0.3/ |
| A D | CHANGELOG | 160 * tcp_out.c: fixed bug #49533 (start persist timer when unsent seg can't fit 846 * tcp_out.c: fixed bug #39683 Assertion "seg->tcphdr not aligned" failed with
|
| /components/net/lwip/lwip-2.1.2/ |
| A D | CHANGELOG | 413 * tcp_out.c: fixed bug #49533 (start persist timer when unsent seg can't fit 1099 * tcp_out.c: fixed bug #39683 Assertion "seg->tcphdr not aligned" failed with
|