/third_party/lwip/src/include/lwip/priv/ |
D | altcp_priv.h | 55 struct altcp_pcb *altcp_alloc(void); 56 void altcp_free(struct altcp_pcb *conn); 59 typedef void (*altcp_set_poll_fn)(struct altcp_pcb *conn, u8_t interval); 60 typedef void (*altcp_recved_fn)(struct altcp_pcb *conn, u16_t len); 61 typedef err_t (*altcp_bind_fn)(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port); 62 typedef err_t (*altcp_connect_fn)(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altc… 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); 68 typedef err_t (*altcp_shutdown_fn)(struct altcp_pcb *conn, int shut_rx, int shut_tx); [all …]
|
D | memp_std.h | 56 LWIP_MEMPOOL(ALTCP_PCB, MEMP_NUM_ALTCP_PCB, sizeof(struct altcp_pcb), "ALTCP_PCB")
|
/third_party/lwip/src/include/lwip/ |
D | altcp.h | 56 struct altcp_pcb; 59 typedef err_t (*altcp_accept_fn)(void *arg, struct altcp_pcb *new_conn, err_t err); 60 typedef err_t (*altcp_connected_fn)(void *arg, struct altcp_pcb *conn, err_t err); 61 typedef err_t (*altcp_recv_fn)(void *arg, struct altcp_pcb *conn, struct pbuf *p, err_t err); 62 typedef err_t (*altcp_sent_fn)(void *arg, struct altcp_pcb *conn, u16_t len); 63 typedef err_t (*altcp_poll_fn)(void *arg, struct altcp_pcb *conn); 66 typedef struct altcp_pcb* (*altcp_new_fn)(void *arg, u8_t ip_type); 68 struct altcp_pcb { struct 70 struct altcp_pcb *inner_conn; argument 91 struct altcp_pcb *altcp_new(altcp_allocator_t *allocator); argument [all …]
|
D | altcp_tls.h | 116 struct altcp_pcb *altcp_tls_wrap(struct altcp_tls_config *config, struct altcp_pcb *inner_pcb); 121 struct altcp_pcb *altcp_tls_new(struct altcp_tls_config *config, u8_t ip_type); 129 struct altcp_pcb *altcp_tls_alloc(void *arg, u8_t ip_type); 135 void *altcp_tls_context(struct altcp_pcb *conn);
|
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);
|
/third_party/lwip/src/core/ |
D | altcp.c | 135 struct altcp_pcb * 138 struct altcp_pcb *ret = (struct altcp_pcb *)memp_malloc(MEMP_ALTCP_PCB); in altcp_alloc() 140 memset(ret, 0, sizeof(struct 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() 213 altcp_arg(struct altcp_pcb *conn, void *arg) in altcp_arg() 225 altcp_accept(struct altcp_pcb *conn, altcp_accept_fn accept) in altcp_accept() [all …]
|
D | altcp_tcp.c | 70 static void altcp_tcp_setup(struct altcp_pcb *conn, struct tcp_pcb *tpcb); 76 struct altcp_pcb *listen_conn = (struct altcp_pcb *)arg; in altcp_tcp_accept() 79 struct altcp_pcb *new_conn = altcp_alloc(); in altcp_tcp_accept() 92 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_connected() 105 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_recv() 122 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_sent() 135 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_poll() 148 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_err() 173 altcp_tcp_setup_callbacks(struct altcp_pcb *conn, struct tcp_pcb *tpcb) in altcp_tcp_setup_callbacks() 186 altcp_tcp_setup(struct altcp_pcb *conn, struct tcp_pcb *tpcb) in altcp_tcp_setup() [all …]
|
D | altcp_alloc.c | 60 struct altcp_pcb * 63 struct altcp_pcb *inner_conn, *ret; in altcp_tls_new() 79 struct altcp_pcb *
|
/third_party/lwip/src/apps/http/ |
D | altcp_proxyconnect.c | 110 altcp_proxyconnect_send_request(struct altcp_pcb *conn) in altcp_proxyconnect_send_request() 161 altcp_proxyconnect_lower_connected(void *arg, struct altcp_pcb *inner_conn, err_t err) in altcp_proxyconnect_lower_connected() 163 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_connected() 187 altcp_proxyconnect_lower_recv(void *arg, struct altcp_pcb *inner_conn, struct pbuf *p, err_t err) in altcp_proxyconnect_lower_recv() 190 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_recv() 251 altcp_proxyconnect_lower_sent(void *arg, struct altcp_pcb *inner_conn, u16_t len) in altcp_proxyconnect_lower_sent() 253 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_sent() 276 altcp_proxyconnect_lower_poll(void *arg, struct altcp_pcb *inner_conn) in altcp_proxyconnect_lower_poll() 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() [all …]
|
D | httpd.c | 249 struct altcp_pcb *pcb; 308 static err_t http_close_conn(struct altcp_pcb *pcb, struct http_state *hs); 309 static err_t http_close_or_abort_conn(struct altcp_pcb *pcb, struct http_state *hs, u8_t abort_conn… 312 static err_t http_poll(void *arg, struct altcp_pcb *pcb); 313 static u8_t http_check_eof(struct altcp_pcb *pcb, struct http_state *hs); 533 http_write(struct altcp_pcb *pcb, const void *ptr, u16_t *length, u8_t apiflags) in http_write() 596 http_close_or_abort_conn(struct altcp_pcb *pcb, struct http_state *hs, u8_t abort_conn) in http_close_or_abort_conn() 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() 998 http_send_headers(struct altcp_pcb *pcb, struct http_state *hs) [all …]
|
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()
|
/third_party/lwip/src/apps/altcp_tls/ |
D | altcp_tls_mbedtls.c | 123 static err_t altcp_mbedtls_lower_recv(void *arg, struct altcp_pcb *inner_conn, struct pbuf *p, err_… 124 static err_t altcp_mbedtls_setup(void *conf, struct altcp_pcb *conn, struct altcp_pcb *inner_conn); 125 static err_t altcp_mbedtls_lower_recv_process(struct altcp_pcb *conn, altcp_mbedtls_state_t *state); 126 static err_t altcp_mbedtls_handle_rx_appldata(struct altcp_pcb *conn, altcp_mbedtls_state_t *state); 138 altcp_mbedtls_lower_accept(void *arg, struct altcp_pcb *accepted_conn, err_t err) in altcp_mbedtls_lower_accept() 140 struct altcp_pcb *listen_conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_accept() 145 struct altcp_pcb *new_conn = altcp_alloc(); in altcp_mbedtls_lower_accept() 163 altcp_mbedtls_lower_connected(void *arg, struct altcp_pcb *inner_conn, err_t err) in altcp_mbedtls_lower_connected() 165 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_mbedtls_lower_connected() 182 altcp_mbedtls_lower_recved(struct altcp_pcb *inner_conn, int recvd_cnt) in altcp_mbedtls_lower_recved() [all …]
|
/third_party/lwip/src/include/lwip/apps/ |
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);
|
D | mqtt_priv.h | 82 struct altcp_pcb *conn;
|
/third_party/lwip/src/apps/smtp/ |
D | smtp.c | 298 static err_t smtp_tcp_recv(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t err); 300 static err_t smtp_tcp_poll(void *arg, struct altcp_pcb *pcb); 301 static err_t smtp_tcp_sent(void *arg, struct altcp_pcb *pcb, u16_t len); 302 static err_t smtp_tcp_connected(void *arg, struct altcp_pcb *pcb, err_t err); 310 static void smtp_send_body(struct smtp_session *s, struct altcp_pcb *pcb); 311 static void smtp_process(void *arg, struct altcp_pcb *pcb, struct pbuf *p); 313 static void smtp_send_body_data_handler(struct smtp_session *s, 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() [all …]
|
/third_party/lwip/src/apps/mqtt/ |
D | mqtt.c | 234 mqtt_output_send(struct mqtt_ringbuf_t *rb, struct altcp_pcb *tpcb) in mqtt_output_send() 931 mqtt_tcp_recv_cb(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t err) in mqtt_tcp_recv_cb() 975 mqtt_tcp_sent_cb(void *arg, struct altcp_pcb *tpcb, u16_t len) in mqtt_tcp_sent_cb() 1026 mqtt_tcp_poll_cb(void *arg, struct altcp_pcb *tpcb) in mqtt_tcp_poll_cb() 1043 mqtt_tcp_connect_cb(void *arg, struct altcp_pcb *tpcb, err_t err) in mqtt_tcp_connect_cb()
|