| /components/net/lwip/lwip-2.1.2/src/include/lwip/priv/ |
| A D | altcp_priv.h | 55 struct altcp_pcb *altcp_alloc(void); 56 void altcp_free(struct altcp_pcb *conn); 64 typedef struct altcp_pcb *(*altcp_listen_fn)(struct altcp_pcb *conn, u8_t backlog, err_t *err); 66 typedef void (*altcp_abort_fn)(struct altcp_pcb *conn); 67 typedef err_t (*altcp_close_fn)(struct altcp_pcb *conn); 71 typedef err_t (*altcp_output_fn)(struct altcp_pcb *conn); 73 typedef u16_t (*altcp_mss_fn)(struct altcp_pcb *conn); 124 err_t altcp_default_output(struct altcp_pcb *conn); 125 u16_t altcp_default_mss(struct altcp_pcb *conn); 126 u16_t altcp_default_sndbuf(struct altcp_pcb *conn); [all …]
|
| A D | memp_std.h | 56 LWIP_MEMPOOL(ALTCP_PCB, MEMP_NUM_ALTCP_PCB, sizeof(struct altcp_pcb), "ALTCP_PCB")
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | altcp.h | 56 struct altcp_pcb; 68 struct altcp_pcb { struct 70 struct altcp_pcb *inner_conn; argument 107 struct altcp_pcb *altcp_listen_with_backlog_and_err(struct altcp_pcb *conn, u8_t backlog, err_t *er… 112 void altcp_abort(struct altcp_pcb *conn); 113 err_t altcp_close(struct altcp_pcb *conn); 117 err_t altcp_output(struct altcp_pcb *conn); 119 u16_t altcp_mss(struct altcp_pcb *conn); 120 u16_t altcp_sndbuf(struct altcp_pcb *conn); 121 u16_t altcp_sndqueuelen(struct altcp_pcb *conn); [all …]
|
| A D | altcp_tls.h | 90 struct altcp_pcb *altcp_tls_wrap(struct altcp_tls_config *config, struct altcp_pcb *inner_pcb); 95 struct altcp_pcb *altcp_tls_new(struct altcp_tls_config *config, u8_t ip_type); 103 struct altcp_pcb *altcp_tls_alloc(void *arg, u8_t ip_type); 109 void *altcp_tls_context(struct altcp_pcb *conn);
|
| A D | altcp_tcp.h | 56 struct altcp_pcb *altcp_tcp_new_ip_type(u8_t ip_type); 61 struct altcp_pcb *altcp_tcp_alloc(void *arg, u8_t ip_type); 64 struct altcp_pcb *altcp_tcp_wrap(struct tcp_pcb *tpcb);
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | altcp.c | 135 struct altcp_pcb * 138 struct altcp_pcb *ret = (struct altcp_pcb *)memp_malloc(MEMP_ALTCP_PCB); in altcp_alloc() 149 altcp_free(struct altcp_pcb *conn) in altcp_free() 163 struct altcp_pcb * 173 struct altcp_pcb * 188 struct altcp_pcb * 191 struct altcp_pcb *conn; in altcp_new_ip_type() 328 struct altcp_pcb * 342 altcp_abort(struct altcp_pcb *conn) in altcp_abort() 354 altcp_close(struct altcp_pcb *conn) in altcp_close() [all …]
|
| A D | altcp_tcp.c | 75 struct altcp_pcb *listen_conn = (struct altcp_pcb *)arg; in altcp_tcp_accept() 91 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_connected() 104 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_recv() 121 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_sent() 134 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_poll() 147 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_err() 188 struct altcp_pcb * 211 struct altcp_pcb * 218 struct altcp_pcb * 278 static struct altcp_pcb * [all …]
|
| A D | altcp_alloc.c | 60 struct altcp_pcb * 63 struct altcp_pcb *inner_conn, *ret; in altcp_tls_new() 79 struct altcp_pcb *
|
| /components/net/lwip/lwip-2.1.2/src/apps/http/ |
| A D | altcp_proxyconnect.c | 163 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_connected() 190 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_recv() 253 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_sent() 278 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_poll() 292 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_err() 345 struct altcp_pcb * 348 struct altcp_pcb *ret; in altcp_proxyconnect_new() 369 struct altcp_pcb * 396 struct altcp_pcb * 415 struct altcp_pcb * [all …]
|
| A D | httpd.c | 249 struct altcp_pcb *pcb; 312 static err_t http_poll(void *arg, struct altcp_pcb *pcb); 646 http_close_conn(struct altcp_pcb *pcb, struct http_state *hs) in http_close_conn() 655 http_eof(struct altcp_pcb *pcb, struct http_state *hs) in http_eof() 1093 http_check_eof(struct altcp_pcb *pcb, struct http_state *hs) 1559 http_send(struct altcp_pcb *pcb, struct http_state *hs) 2441 http_sent(void *arg, struct altcp_pcb *pcb, u16_t len) 2468 http_poll(void *arg, struct altcp_pcb *pcb) 2601 http_accept(void *arg, struct altcp_pcb *pcb, err_t err) 2638 httpd_init_pcb(struct altcp_pcb *pcb, u16_t port) [all …]
|
| A D | http_client.c | 135 struct altcp_pcb* pcb; 159 struct altcp_pcb* tpcb; in httpc_free_state() 280 httpc_tcp_recv(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t r) in httpc_tcp_recv() 365 httpc_tcp_poll(void *arg, struct altcp_pcb *pcb) in httpc_tcp_poll() 383 httpc_tcp_sent(void *arg, struct altcp_pcb *pcb, u16_t len) in httpc_tcp_sent() 394 httpc_tcp_connected(void *arg, struct altcp_pcb *pcb, err_t err) in httpc_tcp_connected() 788 httpc_fs_tcp_recv(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t err) in httpc_fs_tcp_recv()
|
| /components/net/lwip/lwip-2.1.2/src/apps/altcp_tls/ |
| A D | altcp_tls_mbedtls.c | 128 struct altcp_pcb *listen_conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_accept() 153 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_connected() 187 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_recv() 440 struct altcp_pcb *conn = (struct altcp_pcb *)ctx; in altcp_mbedtls_bio_recv() 494 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_sent() 521 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_poll() 544 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_err() 612 struct altcp_pcb * 615 struct altcp_pcb *ret; in altcp_tls_wrap() 938 static struct altcp_pcb * [all …]
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/apps/ |
| A D | altcp_proxyconnect.h | 60 struct altcp_pcb *altcp_proxyconnect_new(struct altcp_proxyconnect_config *config, struct altcp_pcb… 61 struct altcp_pcb *altcp_proxyconnect_new_tcp(struct altcp_proxyconnect_config *config, u8_t ip_type… 63 struct altcp_pcb *altcp_proxyconnect_alloc(void *arg, u8_t ip_type); 71 struct altcp_pcb *altcp_proxyconnect_tls_alloc(void *arg, u8_t ip_type);
|
| A D | mqtt_priv.h | 82 struct altcp_pcb *conn;
|
| /components/net/lwip/lwip-2.1.2/src/apps/smtp/ |
| A D | smtp.c | 300 static err_t smtp_tcp_poll(void *arg, struct altcp_pcb *pcb); 456 static struct altcp_pcb* 459 struct altcp_pcb* pcb; in smtp_setup_pcb() 487 struct altcp_pcb* pcb = NULL; in smtp_send_mail_alloced() 772 smtp_close(struct smtp_session *s, struct altcp_pcb *pcb, u8_t result, in smtp_close() 805 smtp_tcp_poll(void *arg, struct altcp_pcb *pcb) in smtp_tcp_poll() 819 smtp_tcp_sent(void *arg, struct altcp_pcb *pcb, u16_t len) in smtp_tcp_sent() 844 smtp_tcp_connected(void *arg, struct altcp_pcb *pcb, err_t err) in smtp_tcp_connected() 866 struct altcp_pcb *pcb; in smtp_dns_found() 1215 smtp_send_body(struct smtp_session *s, struct altcp_pcb *pcb) in smtp_send_body() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/apps/mqtt/ |
| A D | mqtt.c | 234 mqtt_output_send(struct mqtt_ringbuf_t *rb, struct altcp_pcb *tpcb) in mqtt_output_send() 932 mqtt_tcp_recv_cb(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t err) in mqtt_tcp_recv_cb() 976 mqtt_tcp_sent_cb(void *arg, struct altcp_pcb *tpcb, u16_t len) in mqtt_tcp_sent_cb() 1027 mqtt_tcp_poll_cb(void *arg, struct altcp_pcb *tpcb) in mqtt_tcp_poll_cb() 1044 mqtt_tcp_connect_cb(void *arg, struct altcp_pcb *tpcb, err_t err) in mqtt_tcp_connect_cb()
|