Searched refs:cseg (Results 1 – 3 of 3) sorted by relevance
1052 tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next) argument1056 LWIP_ASSERT("tcp_oos_insert_segment: invalid cseg", cseg != NULL);1058 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) {1066 TCP_SEQ_GEQ((seqno + cseg->len),1070 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN);1077 TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) {1079 cseg->len = (u16_t)(next->tcphdr->seqno - seqno);1080 pbuf_realloc(cseg->p, cseg->len);1083 cseg->next = next;1576 struct tcp_seg *cseg = pcb->ooseq; local[all …]
1665 struct tcp_seg *cseg; in tcp_seg_copy() local1669 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); in tcp_seg_copy()1670 if (cseg == NULL) { in tcp_seg_copy()1673 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); in tcp_seg_copy()1674 pbuf_ref(cseg->p); in tcp_seg_copy()1675 return cseg; in tcp_seg_copy()
2658 * tcp_in.c: Fix for bug #23693 as suggested by Art R. Ensure cseg is unused