Home
last modified time | relevance | path

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

/components/net/lwip/lwip-2.1.2/src/core/
A Daltcp_tcp.c162 tcp_arg(tpcb, NULL); in altcp_tcp_remove_callbacks()
163 tcp_recv(tpcb, NULL); in altcp_tcp_remove_callbacks()
164 tcp_sent(tpcb, NULL); in altcp_tcp_remove_callbacks()
165 tcp_err(tpcb, NULL); in altcp_tcp_remove_callbacks()
166 tcp_poll(tpcb, NULL, tpcb->pollinterval); in altcp_tcp_remove_callbacks()
172 tcp_arg(tpcb, conn); in altcp_tcp_setup_callbacks()
175 tcp_err(tpcb, altcp_tcp_err); in altcp_tcp_setup_callbacks()
184 conn->state = tpcb; in altcp_tcp_setup()
194 if (tpcb != NULL) { in altcp_tcp_new_ip_type()
201 tcp_close(tpcb); in altcp_tcp_new_ip_type()
[all …]
/components/net/lwip/lwip-2.0.3/src/apps/lwiperf/
A Dlwiperf.c330 LWIP_ASSERT("invalid conn", conn->conn_pcb == tpcb); in lwiperf_tcp_client_sent()
331 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_client_sent()
344 LWIP_ASSERT("invalid conn", conn->conn_pcb == tpcb); in lwiperf_tcp_client_connected()
345 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_client_connected()
414 LWIP_ASSERT("pcb mismatch", conn->conn_pcb == tpcb); in lwiperf_tcp_recv()
415 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_recv()
469 tcp_recved(tpcb, p->tot_len); in lwiperf_tcp_recv()
502 tcp_recved(tpcb, tot_len); in lwiperf_tcp_recv()
518 lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb) in lwiperf_tcp_poll() argument
521 LWIP_ASSERT("pcb mismatch", conn->conn_pcb == tpcb); in lwiperf_tcp_poll()
[all …]
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dtcp_impl.h84 #define tcp_do_output_nagle(tpcb) ((((tpcb)->unacked == NULL) || \ argument
85 ((tpcb)->flags & (TF_NODELAY | TF_INFR)) || \
86 (((tpcb)->unsent != NULL) && (((tpcb)->unsent->next != NULL) || \
87 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
88 … ((tcp_sndbuf(tpcb) == 0) || (tcp_sndqueuelen(tpcb) >= TCP_SND_QUEUELEN)) \
90 #define tcp_output_nagle(tpcb) (tcp_do_output_nagle(tpcb) ? tcp_output(tpcb) : ERR_OK) argument
A Dtcp.h72 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,
98 typedef err_t (*tcp_poll_fn)(void *arg, struct tcp_pcb *tpcb);
124 typedef err_t (*tcp_connected_fn)(void *arg, struct tcp_pcb *tpcb, err_t err);
/components/net/lwip/lwip-2.0.3/src/include/lwip/priv/
A Dtcp_priv.h97 #define tcp_do_output_nagle(tpcb) ((((tpcb)->unacked == NULL) || \ argument
98 ((tpcb)->flags & (TF_NODELAY | TF_INFR)) || \
99 (((tpcb)->unsent != NULL) && (((tpcb)->unsent->next != NULL) || \
100 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
101 … ((tcp_sndbuf(tpcb) == 0) || (tcp_sndqueuelen(tpcb) >= TCP_SND_QUEUELEN)) \
103 #define tcp_output_nagle(tpcb) (tcp_do_output_nagle(tpcb) ? tcp_output(tpcb) : ERR_OK) argument
/components/net/lwip/lwip-2.1.2/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
/components/net/lwip/lwip-2.1.2/src/apps/lwiperf/
A Dlwiperf.c358 LWIP_ASSERT("invalid conn", conn->conn_pcb == tpcb); in lwiperf_tcp_client_sent()
359 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_client_sent()
372 LWIP_ASSERT("invalid conn", conn->conn_pcb == tpcb); in lwiperf_tcp_client_connected()
373 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_client_connected()
464 LWIP_ASSERT("pcb mismatch", conn->conn_pcb == tpcb); in lwiperf_tcp_recv()
465 LWIP_UNUSED_ARG(tpcb); in lwiperf_tcp_recv()
523 tcp_recved(tpcb, p->tot_len); in lwiperf_tcp_recv()
557 tcp_recved(tpcb, tot_len); in lwiperf_tcp_recv()
573 lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb) in lwiperf_tcp_poll() argument
576 LWIP_ASSERT("pcb mismatch", conn->conn_pcb == tpcb); in lwiperf_tcp_poll()
[all …]
/components/net/lwip/lwip-2.0.3/src/api/
A Dapi_msg.c830 struct tcp_pcb* tpcb; local
841 tpcb = conn->pcb.tcp;
862 tcp_arg(tpcb, NULL);
865 tcp_accept(tpcb, NULL);
877 tcp_err(tpcb, NULL);
889 tcp_abort(tpcb);
890 tpcb = NULL;
900 tcp_abort(tpcb);
901 tpcb = NULL;
952 tcp_abort(tpcb);
[all …]
/components/net/lwip/lwip-2.1.2/src/api/
A Dapi_msg.c925 struct tcp_pcb *tpcb; local
936 tpcb = conn->pcb.tcp;
957 tcp_arg(tpcb, NULL);
960 tcp_accept(tpcb, NULL);
972 tcp_err(tpcb, NULL);
984 tcp_abort(tpcb);
985 tpcb = NULL;
995 tcp_abort(tpcb);
996 tpcb = NULL;
1047 tcp_abort(tpcb);
[all …]
/components/net/lwip/lwip-2.0.3/src/apps/mqtt/
A Dmqtt.c205 mqtt_output_send(struct mqtt_ringbuf_t *rb, struct tcp_pcb *tpcb) in mqtt_output_send() argument
210 u16_t send_len = tcp_sndbuf(tpcb); in mqtt_output_send()
211 LWIP_ASSERT("mqtt_output_send: tpcb != NULL", tpcb != NULL); in mqtt_output_send()
237 tcp_output(tpcb); in mqtt_output_send()
904 mqtt_tcp_sent_cb(void *arg, struct tcp_pcb *tpcb, u16_t len) in mqtt_tcp_sent_cb() argument
908 LWIP_UNUSED_ARG(tpcb); in mqtt_tcp_sent_cb()
955 mqtt_tcp_poll_cb(void *arg, struct tcp_pcb *tpcb) in mqtt_tcp_poll_cb() argument
960 mqtt_output_send(&client->output, tpcb); in mqtt_tcp_poll_cb()
985 tcp_recv(tpcb, mqtt_tcp_recv_cb); in mqtt_tcp_connect_cb()
986 tcp_sent(tpcb, mqtt_tcp_sent_cb); in mqtt_tcp_connect_cb()
[all …]
/components/net/lwip/lwip-2.1.2/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()
976 mqtt_tcp_sent_cb(void *arg, struct altcp_pcb *tpcb, u16_t len) in mqtt_tcp_sent_cb() argument
980 LWIP_UNUSED_ARG(tpcb); in mqtt_tcp_sent_cb()
1027 mqtt_tcp_poll_cb(void *arg, struct altcp_pcb *tpcb) in mqtt_tcp_poll_cb() argument
1032 mqtt_output_send(&client->output, tpcb); in mqtt_tcp_poll_cb()
1057 altcp_recv(tpcb, mqtt_tcp_recv_cb); in mqtt_tcp_connect_cb()
1058 altcp_sent(tpcb, mqtt_tcp_sent_cb); in mqtt_tcp_connect_cb()
[all …]
/components/net/lwip/lwip-2.1.2/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()
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dtcp.h80 typedef err_t (*tcp_recv_fn)(void *arg, struct tcp_pcb *tpcb,
94 typedef err_t (*tcp_sent_fn)(void *arg, struct tcp_pcb *tpcb,
106 typedef err_t (*tcp_poll_fn)(void *arg, struct tcp_pcb *tpcb);
132 typedef err_t (*tcp_connected_fn)(void *arg, struct tcp_pcb *tpcb, err_t err);
/components/net/lwip/lwip-2.1.2/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);
/components/net/lwip/lwip-1.4.1/doc/
A Drawapi.txt162 struct tcp_pcb *tpcb,
215 err_t (* sent)(void *arg, struct tcp_pcb *tpcb,
233 err_t (* recv)(void *arg, struct tcp_pcb *tpcb,
261 err_t (* poll)(void *arg, struct tcp_pcb *tpcb),
/components/net/lwip/lwip-2.0.3/doc/
A Drawapi.txt183 struct tcp_pcb *tpcb,
236 err_t (* sent)(void *arg, struct tcp_pcb *tpcb,
254 err_t (* recv)(void *arg, struct tcp_pcb *tpcb,
282 err_t (* poll)(void *arg, struct tcp_pcb *tpcb),

Completed in 34 milliseconds