Lines Matching refs:unacked
250 pcb->unacked != NULL))) {
317 /* If total number of pbufs on the unsent/unacked queues exceeds the
329 pcb->unacked != NULL || pcb->unsent != NULL);
332 pcb->unacked == NULL && pcb->unsent == NULL);
684 pcb->unacked != NULL || pcb->unsent != NULL);
704 LWIP_ASSERT("tcp_write: valid queue length", pcb->unacked != NULL ||
815 pcb->unacked != NULL || pcb->unsent != NULL);
934 /* useg should point to last segment on unacked queue */
935 useg = pcb->unacked;
970 * either seg->next != NULL or pcb->unacked == NULL;
1001 /* unacked list is empty? */
1002 if (pcb->unacked == NULL) {
1003 pcb->unacked = seg;
1005 /* unacked list is not empty? */
1008 * of the unacked queue, but rather somewhere before it. We need to check for
1011 /* add segment to before tail of unacked list, keeping the list sorted */
1012 struct tcp_seg **cur_seg = &(pcb->unacked);
1020 /* add segment to tail of unacked list */
1025 /* do not queue empty segments on the unacked list */
1232 * Requeue all unacked segments for retransmission
1236 * @param pcb the tcp_pcb for which to re-enqueue all unacked segments
1243 if (pcb->unacked == NULL) {
1247 /* Move all unacked segments to the head of the unsent queue */
1248 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next);
1249 /* concatenate unsent queue after unacked queue */
1251 /* unsent queue is the concatenated queue (of unacked, unsent) */
1252 pcb->unsent = pcb->unacked;
1253 /* unacked queue is now empty */
1254 pcb->unacked = NULL;
1268 * Requeue the first unacked segment for retransmission
1272 * @param pcb the tcp_pcb for which to retransmit the first unacked segment
1280 if (pcb->unacked == NULL) {
1284 /* Move the first unacked segment to the unsent queue */
1286 seg = pcb->unacked;
1287 pcb->unacked = seg->next;
1318 * @param pcb the tcp_pcb for which to retransmit the first unacked segment
1323 if (pcb->unacked != NULL && !(pcb->flags & TF_INFR)) {
1324 /* This is fast retransmit. Retransmit the first unacked segment. */
1329 ntohl(pcb->unacked->tcphdr->seqno)));
1433 seg = pcb->unacked;
1457 /* Data segment, copy in one byte from the head of the unacked queue */
1459 /* Depending on whether the segment has already been sent (unacked) or not