Home
last modified time | relevance | path

Searched refs:tcp_pcb (Results 1 – 25 of 58) sorted by relevance

123

/components/net/lwip/lwip-2.1.2/src/core/
A Daltcp_tcp.c237 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_set_poll()
247 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_recved()
301 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_abort()
412 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_nagle_disable()
422 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_nagle_enable()
432 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_nagle_disabled()
443 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_setprio()
461 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_get_tcp_addrinfo()
472 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_get_ip()
489 struct tcp_pcb *pcb = (struct tcp_pcb *)conn->state; in altcp_tcp_get_port()
[all …]
A Dtcp.c253 struct tcp_pcb *pcb; in tcp_remove_listener()
665 struct tcp_pcb *cpcb; in tcp_bind()
824 struct tcp_pcb *
847 struct tcp_pcb *
1015 struct tcp_pcb *pcb; in tcp_new_port()
1481 struct tcp_pcb *pcb; in tcp_fasttmr()
1528 struct tcp_pcb *pcb; in tcp_txnow()
1833 struct tcp_pcb *
1944 struct tcp_pcb *
1961 struct tcp_pcb *
[all …]
A Dtcp_out.c305 tcp_write_checks(struct tcp_pcb *pcb, u16_t len) in tcp_write_checks()
1001 tcp_send_fin(struct tcp_pcb *pcb) in tcp_send_fin()
1237 tcp_output(struct tcp_pcb *pcb) in tcp_output()
1631 tcp_rexmit_rto_prepare(struct tcp_pcb *pcb) in tcp_rexmit_rto_prepare()
1686 tcp_rexmit_rto_commit(struct tcp_pcb *pcb) in tcp_rexmit_rto_commit()
1707 tcp_rexmit_rto(struct tcp_pcb *pcb) in tcp_rexmit_rto()
1724 tcp_rexmit(struct tcp_pcb *pcb) in tcp_rexmit()
1783 tcp_rexmit_fast(struct tcp_pcb *pcb) in tcp_rexmit_fast()
2019 tcp_send_empty_ack(struct tcp_pcb *pcb) in tcp_send_empty_ack()
2078 tcp_keepalive(struct tcp_pcb *pcb) in tcp_keepalive()
[all …]
A Dtcp_in.c88 struct tcp_pcb *tcp_input_pcb;
92 static void tcp_receive(struct tcp_pcb *pcb);
120 struct tcp_pcb *pcb, *prev;
123 struct tcp_pcb *lpcb_prev = NULL;
322 prev = (struct tcp_pcb *)lpcb;
350 prev = (struct tcp_pcb *)lpcb;
632 struct tcp_pcb *npcb;
739 tcp_timewait_input(struct tcp_pcb *pcb)
788 tcp_process(struct tcp_pcb *pcb)
1141 tcp_receive(struct tcp_pcb *pcb)
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dtcp.h58 struct tcp_pcb;
242 struct tcp_pcb { struct
246 TCP_PCB_COMMON(struct tcp_pcb);
402 err_t lwip_tcp_event(void *arg, struct tcp_pcb *pcb, argument
411 struct tcp_pcb * tcp_new (void);
412 struct tcp_pcb * tcp_new_ip_type (u8_t type);
464 struct tcp_pcb * tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u8_t backlog, err_t *err);
465 struct tcp_pcb * tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog);
469 void tcp_abort (struct tcp_pcb *pcb);
470 err_t tcp_close (struct tcp_pcb *pcb);
[all …]
A Daltcp_tcp.h63 struct tcp_pcb;
64 struct altcp_pcb *altcp_tcp_wrap(struct tcp_pcb *tpcb);
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dtcp.h57 struct tcp_pcb;
200 struct tcp_pcb { struct
204 TCP_PCB_COMMON(struct tcp_pcb);
343 err_t lwip_tcp_event(void *arg, struct tcp_pcb *pcb, argument
352 struct tcp_pcb * tcp_new (void);
353 struct tcp_pcb * tcp_new_ip_type (u8_t type);
397 struct tcp_pcb * tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u8_t backlog, err_t *err);
398 struct tcp_pcb * tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog);
402 void tcp_abort (struct tcp_pcb *pcb);
403 err_t tcp_close (struct tcp_pcb *pcb);
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dtcp.h49 struct tcp_pcb;
72 typedef err_t (*tcp_recv_fn)(void *arg, struct tcp_pcb *tpcb,
86 typedef err_t (*tcp_sent_fn)(void *arg, struct tcp_pcb *tpcb,
168 struct tcp_pcb { struct
172 TCP_PCB_COMMON(struct tcp_pcb);
307 err_t lwip_tcp_event(void *arg, struct tcp_pcb *pcb,
316 struct tcp_pcb * tcp_new (void);
347 struct tcp_pcb * tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog);
350 void tcp_abort (struct tcp_pcb *pcb);
351 err_t tcp_close (struct tcp_pcb *pcb);
[all …]
A Dtcp_impl.h66 struct tcp_pcb * tcp_alloc (u8_t prio);
69 void tcp_rexmit (struct tcp_pcb *pcb);
306 extern struct tcp_pcb *tcp_input_pcb;
313 struct tcp_pcb *pcbs;
315 extern struct tcp_pcb *tcp_bound_pcbs;
415 struct tcp_pcb *tcp_pcb_copy(struct tcp_pcb *pcb);
416 void tcp_pcb_purge(struct tcp_pcb *pcb);
417 void tcp_pcb_remove(struct tcp_pcb **pcblist, struct tcp_pcb *pcb);
439 err_t tcp_send_fin(struct tcp_pcb *pcb);
450 void tcp_keepalive(struct tcp_pcb *pcb);
[all …]
/components/net/lwip/lwip-2.1.2/src/include/lwip/priv/
A Dtcp_priv.h79 struct tcp_pcb * tcp_alloc (u8_t prio);
326 extern struct tcp_pcb *tcp_input_pcb;
333 struct tcp_pcb *pcbs;
335 extern struct tcp_pcb *tcp_bound_pcbs;
440 struct tcp_pcb *tcp_pcb_copy(struct tcp_pcb *pcb);
441 void tcp_pcb_purge(struct tcp_pcb *pcb);
442 void tcp_pcb_remove(struct tcp_pcb **pcblist, struct tcp_pcb *pcb);
462 err_t tcp_send_fin(struct tcp_pcb *pcb);
471 u32_t tcp_next_iss(struct tcp_pcb *pcb);
473 err_t tcp_keepalive(struct tcp_pcb *pcb);
[all …]
/components/net/lwip/lwip-2.0.3/src/include/lwip/priv/
A Dtcp_priv.h79 struct tcp_pcb * tcp_alloc (u8_t prio);
82 void tcp_rexmit (struct tcp_pcb *pcb);
311 extern struct tcp_pcb *tcp_input_pcb;
318 struct tcp_pcb *pcbs;
320 extern struct tcp_pcb *tcp_bound_pcbs;
425 struct tcp_pcb *tcp_pcb_copy(struct tcp_pcb *pcb);
426 void tcp_pcb_purge(struct tcp_pcb *pcb);
427 void tcp_pcb_remove(struct tcp_pcb **pcblist, struct tcp_pcb *pcb);
449 err_t tcp_send_fin(struct tcp_pcb *pcb);
458 u32_t tcp_next_iss(struct tcp_pcb *pcb);
[all …]
/components/net/lwip/lwip-2.0.3/src/core/
A Dtcp.c175 struct tcp_pcb *pcb; in tcp_remove_listener()
566 struct tcp_pcb *cpcb; in tcp_bind()
663 struct tcp_pcb *
685 struct tcp_pcb *
842 struct tcp_pcb *pcb; in tcp_new_port()
1253 struct tcp_pcb *pcb; in tcp_fasttmr()
1300 struct tcp_pcb *pcb; in tcp_txnow()
1554 struct tcp_pcb *
1659 struct tcp_pcb *
1676 struct tcp_pcb *
[all …]
/components/net/lwip/lwip-1.4.1/src/core/
A Dtcp.c437 struct tcp_pcb *cpcb; in tcp_bind()
518 struct tcp_pcb *
651 struct tcp_pcb *pcb; in tcp_new_port()
725 struct tcp_pcb *cpcb; in tcp_connect()
1048 struct tcp_pcb *pcb; in tcp_fasttmr()
1277 struct tcp_pcb *
1280 struct tcp_pcb *pcb; in tcp_alloc()
1362 struct tcp_pcb *
1538 tcp_pcb_remove(struct tcp_pcb **pcblist, struct tcp_pcb *pcb) in tcp_pcb_remove()
1699 struct tcp_pcb *pcb; in tcp_debug_print_pcbs()
[all …]
A Dtcp_out.c125 tcp_send_fin(struct tcp_pcb *pcb) in tcp_send_fin()
294 tcp_write_checks(struct tcp_pcb *pcb, u16_t len) in tcp_write_checks()
722 tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags) in tcp_enqueue_flags()
828 tcp_build_timestamp_option(struct tcp_pcb *pcb, u32_t *opts) in tcp_build_timestamp_option()
842 tcp_send_empty_ack(struct tcp_pcb *pcb) in tcp_send_empty_ack()
898 tcp_output(struct tcp_pcb *pcb) in tcp_output()
1239 tcp_rexmit_rto(struct tcp_pcb *pcb) in tcp_rexmit_rto()
1281 tcp_rexmit(struct tcp_pcb *pcb) in tcp_rexmit()
1327 tcp_rexmit_fast(struct tcp_pcb *pcb) in tcp_rexmit_fast()
1370 tcp_keepalive(struct tcp_pcb *pcb) in tcp_keepalive()
[all …]
/components/net/lwip/lwip-1.4.1/test/unit/tcp/
A Dtcp_helper.h35 struct pbuf* tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len,
37 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len,
39 void tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, ip_addr_t* local_ip,
42 err_t test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err);
44 struct tcp_pcb* test_tcp_new_counters_pcb(struct test_tcp_counters* counters);
A Dtcp_helper.c14 tcp_remove(struct tcp_pcb* pcb_list) in tcp_remove()
16 struct tcp_pcb *pcb = pcb_list; in tcp_remove()
17 struct tcp_pcb *pcb2; in tcp_remove()
118 tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len, u32_t seqno_offset, in tcp_create_rx_segment()
130 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len, in tcp_create_rx_segment_wnd()
139 tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, ip_addr_t* local_ip, in tcp_set_state()
197 test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err) in test_tcp_counters_recv()
222 struct tcp_pcb*
225 struct tcp_pcb* pcb = tcp_new(); in test_tcp_new_counters_pcb()
/components/net/lwip/lwip-2.0.3/test/unit/tcp/
A Dtcp_helper.h35 struct pbuf* tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len,
37 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len,
39 void tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, ip_addr_t* local_ip,
42 err_t test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err);
44 struct tcp_pcb* test_tcp_new_counters_pcb(struct test_tcp_counters* counters);
A Dtcp_helper.c15 tcp_remove(struct tcp_pcb* pcb_list) in tcp_remove()
17 struct tcp_pcb *pcb = pcb_list; in tcp_remove()
18 struct tcp_pcb *pcb2; in tcp_remove()
120 tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len, u32_t seqno_offset, in tcp_create_rx_segment()
132 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len, in tcp_create_rx_segment_wnd()
141 tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, ip_addr_t* local_ip, in tcp_set_state()
208 test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err) in test_tcp_counters_recv()
233 struct tcp_pcb*
236 struct tcp_pcb* pcb = tcp_new(); in test_tcp_new_counters_pcb()
/components/net/lwip/lwip-2.1.2/test/unit/tcp/
A Dtcp_helper.h41 struct pbuf* tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len,
43 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len,
45 void tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, const ip_addr_t* local_ip,
48 err_t test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err);
50 struct tcp_pcb* test_tcp_new_counters_pcb(struct test_tcp_counters* counters);
A Dtcp_helper.c19 tcp_remove(struct tcp_pcb* pcb_list) in tcp_remove()
21 struct tcp_pcb *pcb = pcb_list; in tcp_remove()
22 struct tcp_pcb *pcb2; in tcp_remove()
125 tcp_create_rx_segment(struct tcp_pcb* pcb, void* data, size_t data_len, u32_t seqno_offset, in tcp_create_rx_segment()
137 struct pbuf* tcp_create_rx_segment_wnd(struct tcp_pcb* pcb, void* data, size_t data_len, in tcp_create_rx_segment_wnd()
146 tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, const ip_addr_t* local_ip, in tcp_set_state()
213 test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err) in test_tcp_counters_recv()
238 struct tcp_pcb*
241 struct tcp_pcb* pcb = tcp_new(); in test_tcp_new_counters_pcb()
/components/net/lwip/lwip-2.0.3/src/apps/snmp/
A Dsnmp_mib2_tcp.c99 struct tcp_pcb *pcb = tcp_active_pcbs; in tcp_get_value()
158 tcp_ConnTable_get_cell_value_core(struct tcp_pcb *pcb, const u32_t* column, union snmp_variant_valu… in tcp_ConnTable_get_cell_value_core()
203 struct tcp_pcb *pcb; in tcp_ConnTable_get_cell_value()
252 struct tcp_pcb *pcb; in tcp_ConnTable_get_next_cell_instance_and_value()
293 …return tcp_ConnTable_get_cell_value_core((struct tcp_pcb*)state.reference, column, value, value_le… in tcp_ConnTable_get_next_cell_instance_and_value()
305 tcp_ConnectionTable_get_cell_value_core(const u32_t* column, struct tcp_pcb *pcb, union snmp_varian… in tcp_ConnectionTable_get_cell_value_core()
327 struct tcp_pcb *pcb; in tcp_ConnectionTable_get_cell_value()
330 …struct tcp_pcb ** const tcp_pcb_nonlisten_lists[] = {&tcp_bound_pcbs, &tcp_active_pcbs, &tcp_tw_pc… in tcp_ConnectionTable_get_cell_value()
369 struct tcp_pcb *pcb; in tcp_ConnectionTable_get_next_cell_instance_and_value()
375 …struct tcp_pcb ** const tcp_pcb_nonlisten_lists[] = {&tcp_bound_pcbs, &tcp_active_pcbs, &tcp_tw_pc… in tcp_ConnectionTable_get_next_cell_instance_and_value()
[all …]
/components/net/lwip/lwip-2.1.2/src/apps/snmp/
A Dsnmp_mib2_tcp.c98 struct tcp_pcb *pcb = tcp_active_pcbs; in tcp_get_value()
165 tcp_ConnTable_get_cell_value_core(struct tcp_pcb *pcb, const u32_t *column, union snmp_variant_valu… in tcp_ConnTable_get_cell_value_core()
210 struct tcp_pcb *pcb; in tcp_ConnTable_get_cell_value()
259 struct tcp_pcb *pcb; in tcp_ConnTable_get_next_cell_instance_and_value()
300 …return tcp_ConnTable_get_cell_value_core((struct tcp_pcb *)state.reference, column, value, value_l… in tcp_ConnTable_get_next_cell_instance_and_value()
312 tcp_ConnectionTable_get_cell_value_core(const u32_t *column, struct tcp_pcb *pcb, union snmp_varian… in tcp_ConnectionTable_get_cell_value_core()
334 struct tcp_pcb *pcb; in tcp_ConnectionTable_get_cell_value()
337 …struct tcp_pcb **const tcp_pcb_nonlisten_lists[] = {&tcp_bound_pcbs, &tcp_active_pcbs, &tcp_tw_pcb… in tcp_ConnectionTable_get_cell_value()
376 struct tcp_pcb *pcb; in tcp_ConnectionTable_get_next_cell_instance_and_value()
382 …struct tcp_pcb **const tcp_pcb_nonlisten_lists[] = {&tcp_bound_pcbs, &tcp_active_pcbs, &tcp_tw_pcb… in tcp_ConnectionTable_get_next_cell_instance_and_value()
[all …]
/components/net/lwip/lwip-2.0.3/src/apps/lwiperf/
A Dlwiperf.c105 struct tcp_pcb* server_pcb;
106 struct tcp_pcb* conn_pcb;
163 static err_t lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb);
326 lwiperf_tcp_client_sent(void *arg, struct tcp_pcb *tpcb, u16_t len) in lwiperf_tcp_client_sent()
341 lwiperf_tcp_client_connected(void *arg, struct tcp_pcb *tpcb, err_t err) in lwiperf_tcp_client_connected()
363 struct tcp_pcb* newpcb; in lwiperf_tx_start()
406 lwiperf_tcp_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) in lwiperf_tcp_recv()
518 lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb) in lwiperf_tcp_poll()
537 lwiperf_tcp_accept(void *arg, struct tcp_pcb *newpcb, err_t err) in lwiperf_tcp_accept()
597 struct tcp_pcb* pcb; in lwiperf_start_tcp_server()
/components/net/lwip/lwip-1.4.1/doc/
A Drawapi.txt89 - void tcp_arg(struct tcp_pcb *pcb, void *arg)
105 - struct tcp_pcb *tcp_new(void)
120 - struct tcp_pcb *tcp_listen(struct tcp_pcb *pcb)
138 - struct tcp_pcb *tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog)
144 - void tcp_accepted(struct tcp_pcb *pcb)
153 - void tcp_accept(struct tcp_pcb *pcb,
214 - void tcp_sent(struct tcp_pcb *pcb,
232 - void tcp_recv(struct tcp_pcb *pcb,
260 - void tcp_poll(struct tcp_pcb *pcb,
273 - err_t tcp_close(struct tcp_pcb *pcb)
[all …]
/components/net/lwip/lwip-2.1.2/src/apps/lwiperf/
A Dlwiperf.c116 struct tcp_pcb *server_pcb;
117 struct tcp_pcb *conn_pcb;
178 static err_t lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb);
354 lwiperf_tcp_client_sent(void *arg, struct tcp_pcb *tpcb, u16_t len) in lwiperf_tcp_client_sent()
369 lwiperf_tcp_client_connected(void *arg, struct tcp_pcb *tpcb, err_t err) in lwiperf_tcp_client_connected()
392 struct tcp_pcb *newpcb; in lwiperf_tx_start_impl()
456 lwiperf_tcp_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) in lwiperf_tcp_recv()
573 lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb) in lwiperf_tcp_poll()
592 lwiperf_tcp_accept(void *arg, struct tcp_pcb *newpcb, err_t err) in lwiperf_tcp_accept()
689 struct tcp_pcb *pcb; in lwiperf_start_tcp_server_impl()

Completed in 869 milliseconds

123