Home
last modified time | relevance | path

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

/btstack/3rd-party/lwip/core/src/core/
H A Dtcp_in.c1055 tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next) argument
1059 LWIP_ASSERT("tcp_oos_insert_segment: invalid cseg", cseg != NULL);
1061 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) {
1069 TCP_SEQ_GEQ((seqno + cseg->len),
1073 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN);
1080 TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) {
1082 cseg->len = (u16_t)(next->tcphdr->seqno - seqno);
1083 pbuf_realloc(cseg->p, cseg->len);
1086 cseg->next = next;
1572 struct tcp_seg *cseg = pcb->ooseq; local
[all …]
H A Dtcp.c1668 struct tcp_seg *cseg; in tcp_seg_copy() local
1672 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); in tcp_seg_copy()
1673 if (cseg == NULL) { in tcp_seg_copy()
1676 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); in tcp_seg_copy()
1677 pbuf_ref(cseg->p); in tcp_seg_copy()
1678 return cseg; in tcp_seg_copy()
/btstack/3rd-party/lwip/core/
H A DCHANGELOG2648 * tcp_in.c: Fix for bug #23693 as suggested by Art R. Ensure cseg is unused