Home
last modified time | relevance | path

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

/minix3/minix/lib/liblwip/dist/src/core/
H A Dtcp_out.c143 struct tcp_seg *last_unsent; in tcp_send_fin() local
144 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_send_fin()
145 last_unsent = last_unsent->next); in tcp_send_fin()
147 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()
149 TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); in tcp_send_fin()
371 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write() local
450 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_write()
451 last_unsent = last_unsent->next); in tcp_write()
454 unsent_optlen = LWIP_TCP_OPT_LENGTH(last_unsent->flags); in tcp_write()
455 LWIP_ASSERT("mss_local is too small", mss_local >= last_unsent->len + unsent_optlen); in tcp_write()
[all …]