Home
last modified time | relevance | path

Searched refs:tcp_seg (Results 1 – 25 of 27) sorted by relevance

12

/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/
H A Dtcp_impl.h277 struct tcp_seg { struct
278 struct tcp_seg *next; /* used when putting segements on a queue */ argument
419 void tcp_segs_free(struct tcp_seg *seg);
420 void tcp_seg_free(struct tcp_seg *seg);
421 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg);
442 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);
H A Dtcp.h242 struct tcp_seg *unsent; /* Unsent (queued) segments. */
243 struct tcp_seg *unacked; /* Sent but unacknowledged segments. */
245 struct tcp_seg *ooseq; /* Received out of sequence segments. */
H A Dmemp_std.h44 LWIP_MEMPOOL(TCP_SEG, MEMP_NUM_TCP_SEG, sizeof(struct tcp_seg), "TCP_SEG")
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/priv/
H A Dtcp_priv.h248 struct tcp_seg { struct
249 struct tcp_seg *next; /* used when putting segments on a queue */ argument
429 void tcp_segs_free(struct tcp_seg *seg);
430 void tcp_seg_free(struct tcp_seg *seg);
431 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg);
452 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);
H A Dmemp_std.h52 LWIP_MEMPOOL(TCP_SEG, MEMP_NUM_TCP_SEG, sizeof(struct tcp_seg), "TCP_SEG")
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/
H A Dtcp_priv.h253 struct tcp_seg { struct
254 struct tcp_seg *next; /* used when putting segments on a queue */ argument
444 void tcp_segs_free(struct tcp_seg *seg);
445 void tcp_seg_free(struct tcp_seg *seg);
446 struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg);
465 void tcp_rexmit_seg(struct tcp_pcb *pcb, struct tcp_seg *seg);
H A Dmemp_std.h52 LWIP_MEMPOOL(TCP_SEG, MEMP_NUM_TCP_SEG, sizeof(struct tcp_seg), "TCP_SEG")
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dtcp_out.c81 static void tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb);
129 struct tcp_seg *last_unsent; in tcp_send_fin()
158 static struct tcp_seg *
161 struct tcp_seg *seg; in tcp_create_segment()
164 if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { in tcp_create_segment()
357 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write()
725 struct tcp_seg *seg; in tcp_enqueue_flags()
791 struct tcp_seg *useg; in tcp_enqueue_flags()
900 struct tcp_seg *seg, *useg; in tcp_output()
1012 struct tcp_seg **cur_seg = &(pcb->unacked); in tcp_output()
[all …]
H A Dtcp.c1128 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free()
1131 struct tcp_seg *next = seg->next; in tcp_segs_free()
1143 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free()
1176 struct tcp_seg *
1177 tcp_seg_copy(struct tcp_seg *seg) in tcp_seg_copy()
1179 struct tcp_seg *cseg; in tcp_seg_copy()
1181 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); in tcp_seg_copy()
1185 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); in tcp_seg_copy()
H A Dtcp_in.c62 static struct tcp_seg inseg;
577 struct tcp_seg *rseg; in tcp_process()
800 tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next) in tcp_oos_insert_segment()
802 struct tcp_seg *old_seg; in tcp_oos_insert_segment()
849 struct tcp_seg *next; in tcp_receive()
851 struct tcp_seg *prev, *cseg; in tcp_receive()
1254 struct tcp_seg *old_ooseq = pcb->ooseq; in tcp_receive()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dtcp_out.c95 static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif);
143 struct tcp_seg *last_unsent; in tcp_send_fin()
172 static struct tcp_seg *
175 struct tcp_seg *seg; in tcp_create_segment()
178 if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { in tcp_create_segment()
371 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write()
788 struct tcp_seg *seg; in tcp_enqueue_flags()
854 struct tcp_seg *useg; in tcp_enqueue_flags()
995 struct tcp_seg *seg, *useg; in tcp_output()
1150 struct tcp_seg **cur_seg = &(pcb->unacked); in tcp_output()
[all …]
H A Dtcp_in.c68 static struct tcp_seg inseg;
692 struct tcp_seg *rseg;
951 tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next)
953 struct tcp_seg *old_seg;
999 struct tcp_seg *next;
1001 struct tcp_seg *prev, *cseg;
1402 struct tcp_seg *old_ooseq = pcb->ooseq;
H A Dtcp.c1370 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free()
1373 struct tcp_seg *next = seg->next; in tcp_segs_free()
1385 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free()
1418 struct tcp_seg *
1419 tcp_seg_copy(struct tcp_seg *seg) in tcp_seg_copy()
1421 struct tcp_seg *cseg; in tcp_seg_copy()
1423 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); in tcp_seg_copy()
1427 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); in tcp_seg_copy()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dtcp_in.c74 static struct tcp_seg inseg;
790 struct tcp_seg *rseg;
1051 tcp_oos_insert_segment(struct tcp_seg *cseg, struct tcp_seg *next)
1053 struct tcp_seg *old_seg;
1087 static struct tcp_seg *
1088 tcp_free_acked_segments(struct tcp_pcb *pcb, struct tcp_seg *seg_list, const char *dbg_list_name,
1089 struct tcp_seg *dbg_other_seg_list)
1091 struct tcp_seg *next;
1498 struct tcp_seg *old_ooseq = pcb->ooseq;
1503 struct tcp_seg *next = pcb->ooseq;
[all …]
H A Dtcp_out.c128 static err_t tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *netif);
157 static struct tcp_seg *
160 struct tcp_seg *seg; in tcp_create_segment()
168 if ((seg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG)) == NULL) { in tcp_create_segment()
393 struct tcp_seg *last_unsent = NULL, *seg = NULL, *prev_seg = NULL, *queue = NULL; in tcp_write()
829 struct tcp_seg *seg = NULL, *useg = NULL; in tcp_split_unsent_seg()
1007 struct tcp_seg *last_unsent; in tcp_send_fin()
1035 struct tcp_seg *seg; in tcp_enqueue_flags()
1103 struct tcp_seg *useg; in tcp_enqueue_flags()
1239 struct tcp_seg *seg, *useg; in tcp_output()
[all …]
H A Dtcp.c1610 tcp_segs_free(struct tcp_seg *seg) in tcp_segs_free()
1613 struct tcp_seg *next = seg->next; in tcp_segs_free()
1625 tcp_seg_free(struct tcp_seg *seg) in tcp_seg_free()
1663 struct tcp_seg *
1664 tcp_seg_copy(struct tcp_seg *seg) in tcp_seg_copy()
1666 struct tcp_seg *cseg; in tcp_seg_copy()
1670 cseg = (struct tcp_seg *)memp_malloc(MEMP_TCP_SEG); in tcp_seg_copy()
1674 SMEMCPY((u8_t *)cseg, (const u8_t *)seg, sizeof(struct tcp_seg)); in tcp_seg_copy()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dtcp.h281 struct tcp_seg *unsent; /* Unsent (queued) segments. */
282 struct tcp_seg *unacked; /* Sent but unacknowledged segments. */
284 struct tcp_seg *ooseq; /* Received out of sequence segments. */
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/
H A Dtcp.h338 struct tcp_seg *unsent; /* Unsent (queued) segments. */
339 struct tcp_seg *unacked; /* Sent but unacknowledged segments. */
341 struct tcp_seg *ooseq; /* Received out of sequence segments. */
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/test/unit/tcp/
H A Dtest_tcp_oos.c31 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_count()
43 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_pbuf_count()
61 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_seqno()
85 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_tcplen()
108 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_tcplen()
H A Dtest_tcp.c296 check_seqnos(struct tcp_seg *segs, int num_expected, u32_t *seqnos_expected) in check_seqnos()
298 struct tcp_seg *s = segs; in check_seqnos()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/tcp/
H A Dtest_tcp_oos.c31 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_count()
44 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_pbuf_count()
63 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_seqno()
87 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_tcplen()
110 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_tcplen()
H A Dtest_tcp.c566 check_seqnos(struct tcp_seg *segs, int num_expected, u32_t *seqnos_expected) in check_seqnos()
568 struct tcp_seg *s = segs; in check_seqnos()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/tcp/
H A Dtest_tcp_oos.c31 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_count()
44 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_pbuf_count()
63 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_seqno()
87 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_seg_tcplen()
110 struct tcp_seg* seg = pcb->ooseq; in tcp_oos_tcplen()
H A Dtest_tcp.c370 check_seqnos(struct tcp_seg *segs, int num_expected, u32_t *seqnos_expected) in check_seqnos()
372 struct tcp_seg *s = segs; in check_seqnos()
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/
H A DCHANGELOG319 * tcp_impl.h, tcp_in.c, tcp_out.c: Removed 'dataptr' from 'struct tcp_seg' and
3103 * The ->len field in the tcp_seg structure now counts the actual

12