Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/
Dtcp_out.c127 struct tcp_seg *last_unsent; in tcp_send_fin() local
128 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_send_fin()
129 last_unsent = last_unsent->next); in tcp_send_fin()
131 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()
133 TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); in tcp_send_fin()
354 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write() local
422 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_write()
423 last_unsent = last_unsent->next); in tcp_write()
426 unsent_optlen = LWIP_TCP_OPT_LENGTH(last_unsent->flags); in tcp_write()
427 space = pcb->mss - (last_unsent->len + unsent_optlen); in tcp_write()
[all …]