Home
last modified time | relevance | path

Searched refs:unsent (Results 1 – 7 of 7) sorted by relevance

/lib/liblwip/src/core/
Dtcp_out.c128 if (pcb->unsent != NULL) { in tcp_send_fin()
130 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_send_fin()
249 pcb->unsent != NULL || in tcp_pbuf_prealloc()
329 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_write_checks()
332 pcb->unacked == NULL && pcb->unsent == NULL); in tcp_write_checks()
422 if (pcb->unsent != NULL) { in tcp_write()
427 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_write()
668 pcb->unsent = queue; in tcp_write()
684 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_write()
705 pcb->unsent != NULL); in tcp_write()
[all …]
Dtcp_in.c1032 pcb->unsent != NULL); in tcp_receive()
1055 while (pcb->unsent != NULL && in tcp_receive()
1056 TCP_SEQ_BETWEEN(ackno, ntohl(pcb->unsent->tcphdr->seqno) + in tcp_receive()
1057 TCP_TCPLEN(pcb->unsent), pcb->snd_nxt)) { in tcp_receive()
1059 … ntohl(pcb->unsent->tcphdr->seqno), ntohl(pcb->unsent->tcphdr->seqno) + in tcp_receive()
1060 TCP_TCPLEN(pcb->unsent))); in tcp_receive()
1062 next = pcb->unsent; in tcp_receive()
1063 pcb->unsent = pcb->unsent->next; in tcp_receive()
1065 if (pcb->unsent == NULL) { in tcp_receive()
1080 pcb->unacked != NULL || pcb->unsent != NULL); in tcp_receive()
Dtcp.c385 if (pcb->unsent != NULL) { in tcp_abandon()
386 tcp_segs_free(pcb->unsent); in tcp_abandon()
1504 if (pcb->unsent != NULL) { in tcp_pcb_purge()
1522 tcp_segs_free(pcb->unsent); in tcp_pcb_purge()
1524 pcb->unacked = pcb->unsent = NULL; in tcp_pcb_purge()
1553 LWIP_ASSERT("unsent segments leaking", pcb->unsent == NULL); in tcp_pcb_remove()
/lib/liblwip/test/unit/tcp/
Dtest_tcp.c359 check_seqnos(pcb->unsent, 6, seqnos); in START_TEST()
367 check_seqnos(pcb->unsent, 4, &seqnos[2]); in START_TEST()
377 check_seqnos(pcb->unsent, 3, &seqnos[3]); in START_TEST()
395 EXPECT(pcb->unsent == NULL); in START_TEST()
458 check_seqnos(pcb->unsent, 6, seqnos); in START_TEST()
466 check_seqnos(pcb->unsent, 4, &seqnos[2]); in START_TEST()
477 check_seqnos(pcb->unsent, 5, &seqnos[1]); in START_TEST()
485 EXPECT(pcb->unsent == NULL); in START_TEST()
/lib/liblwip/src/include/lwip/
Dtcp_impl.h86 (((tpcb)->unsent != NULL) && (((tpcb)->unsent->next != NULL) || \
87 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
Dtcp.h242 struct tcp_seg *unsent; /* Unsent (queued) segments. */ member
/lib/liblwip/
DCHANGELOG1023 * tcp_out.c: Fixed bug #27905: FIN isn't combined with data on unsent
1273 (and unsent->next == NULL)
1302 Fixed by sorting the unsent and unacked queues (segments are inserted at the