Home
last modified time | relevance | path

Searched refs:tpcb (Results 1 – 9 of 9) sorted by relevance

/lib/lwip/lwip/contrib/apps/tcpecho_raw/
A Dtcpecho_raw.c86 tcp_arg(tpcb, NULL); in tcpecho_raw_close()
87 tcp_sent(tpcb, NULL); in tcpecho_raw_close()
88 tcp_recv(tpcb, NULL); in tcpecho_raw_close()
89 tcp_err(tpcb, NULL); in tcpecho_raw_close()
90 tcp_poll(tpcb, NULL, 0); in tcpecho_raw_close()
94 tcp_close(tpcb); in tcpecho_raw_close()
123 tcp_recved(tpcb, plen); in tcpecho_raw_send()
155 tcpecho_raw_send(tpcb, es); in tcpecho_raw_poll()
165 tcp_abort(tpcb); in tcpecho_raw_poll()
184 tcpecho_raw_send(tpcb, es); in tcpecho_raw_sent()
[all …]
/lib/lwip/lwip/src/core/
A Daltcp_tcp.c164 tcp_arg(tpcb, NULL); in altcp_tcp_remove_callbacks()
165 if (tpcb->state != LISTEN) { in altcp_tcp_remove_callbacks()
166 tcp_recv(tpcb, NULL); in altcp_tcp_remove_callbacks()
167 tcp_sent(tpcb, NULL); in altcp_tcp_remove_callbacks()
168 tcp_err(tpcb, NULL); in altcp_tcp_remove_callbacks()
169 tcp_poll(tpcb, NULL, tpcb->pollinterval); in altcp_tcp_remove_callbacks()
176 tcp_arg(tpcb, conn); in altcp_tcp_setup_callbacks()
190 conn->state = tpcb; in altcp_tcp_setup()
200 if (tpcb != NULL) { in altcp_tcp_new_ip_type()
207 tcp_close(tpcb); in altcp_tcp_new_ip_type()
[all …]
/lib/lwip/lwip/src/include/lwip/priv/
A Dtcp_priv.h100 #define tcp_do_output_nagle(tpcb) ((((tpcb)->unacked == NULL) || \ argument
101 ((tpcb)->flags & (TF_NODELAY | TF_INFR)) || \
102 (((tpcb)->unsent != NULL) && (((tpcb)->unsent->next != NULL) || \
103 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
104 … ((tcp_sndbuf(tpcb) == 0) || (tcp_sndqueuelen(tpcb) >= TCP_SND_QUEUELEN)) \
106 #define tcp_output_nagle(tpcb) (tcp_do_output_nagle(tpcb) ? tcp_output(tpcb) : ERR_OK) argument
/lib/lwip/lwip/src/apps/lwiperf/
A Dlwiperf.c359 LWIP_ASSERT("invalid conn", conn->conn_pcb == tpcb); in lwiperf_tcp_client_sent()
360 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_client_sent()
373 LWIP_ASSERT("invalid conn", conn->conn_pcb == tpcb); in lwiperf_tcp_client_connected()
374 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_client_connected()
465 LWIP_ASSERT("pcb mismatch", conn->conn_pcb == tpcb); in lwiperf_tcp_recv()
466 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_recv()
524 tcp_recved(tpcb, p->tot_len); in lwiperf_tcp_recv()
558 tcp_recved(tpcb, tot_len); in lwiperf_tcp_recv()
579 lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb) in lwiperf_tcp_poll() argument
582 LWIP_ASSERT("pcb mismatch", conn->conn_pcb == tpcb); in lwiperf_tcp_poll()
[all …]
/lib/lwip/lwip/src/api/
A Dapi_msg.c929 struct tcp_pcb *tpcb; local
940 tpcb = conn->pcb.tcp;
961 tcp_arg(tpcb, NULL);
964 tcp_accept(tpcb, NULL);
976 tcp_err(tpcb, NULL);
988 tcp_abort(tpcb);
989 tpcb = NULL;
999 tcp_abort(tpcb);
1000 tpcb = NULL;
1051 tcp_abort(tpcb);
[all …]
/lib/lwip/lwip/src/apps/mqtt/
A Dmqtt.c234 mqtt_output_send(struct mqtt_ringbuf_t *rb, struct altcp_pcb *tpcb) in mqtt_output_send() argument
239 u16_t send_len = altcp_sndbuf(tpcb); in mqtt_output_send()
240 LWIP_ASSERT("mqtt_output_send: tpcb != NULL", tpcb != NULL); in mqtt_output_send()
266 altcp_output(tpcb); in mqtt_output_send()
983 mqtt_tcp_sent_cb(void *arg, struct altcp_pcb *tpcb, u16_t len) in mqtt_tcp_sent_cb() argument
987 LWIP_UNUSED_ARG(tpcb); in mqtt_tcp_sent_cb()
1034 mqtt_tcp_poll_cb(void *arg, struct altcp_pcb *tpcb) in mqtt_tcp_poll_cb() argument
1039 mqtt_output_send(&client->output, tpcb); in mqtt_tcp_poll_cb()
1064 altcp_recv(tpcb, mqtt_tcp_recv_cb); in mqtt_tcp_connect_cb()
1065 altcp_sent(tpcb, mqtt_tcp_sent_cb); in mqtt_tcp_connect_cb()
[all …]
/lib/lwip/lwip/src/apps/http/
A Dhttp_client.c159 struct altcp_pcb* tpcb; in httpc_free_state() local
170 tpcb = req->pcb; in httpc_free_state()
174 if (tpcb != NULL) { in httpc_free_state()
176 altcp_arg(tpcb, NULL); in httpc_free_state()
177 altcp_recv(tpcb, NULL); in httpc_free_state()
178 altcp_err(tpcb, NULL); in httpc_free_state()
179 altcp_poll(tpcb, NULL, 0); in httpc_free_state()
180 altcp_sent(tpcb, NULL); in httpc_free_state()
181 r = altcp_close(tpcb); in httpc_free_state()
183 altcp_abort(tpcb); in httpc_free_state()
/lib/lwip/lwip/src/include/lwip/
A Dtcp.h82 typedef err_t (*tcp_recv_fn)(void *arg, struct tcp_pcb *tpcb,
96 typedef err_t (*tcp_sent_fn)(void *arg, struct tcp_pcb *tpcb,
108 typedef err_t (*tcp_poll_fn)(void *arg, struct tcp_pcb *tpcb);
134 typedef err_t (*tcp_connected_fn)(void *arg, struct tcp_pcb *tpcb, err_t err);
A Daltcp_tcp.h64 struct altcp_pcb *altcp_tcp_wrap(struct tcp_pcb *tpcb);

Completed in 40 milliseconds