/third_party/lwip/src/include/lwip/ |
D | api.h | 231 err_t pending_err; 314 err_t netconn_prepare_delete(struct netconn *conn); 315 err_t netconn_delete(struct netconn *conn); 319 err_t netconn_getaddr(struct netconn *conn, ip_addr_t *addr, 326 err_t netconn_bind(struct netconn *conn, const ip_addr_t *addr, u16_t port); 327 err_t netconn_bind_if(struct netconn *conn, u8_t if_idx); 328 err_t netconn_connect(struct netconn *conn, const ip_addr_t *addr, u16_t port); 329 err_t netconn_disconnect (struct netconn *conn); 330 err_t netconn_listen_with_backlog(struct netconn *conn, u8_t backlog); 333 err_t netconn_accept(struct netconn *conn, struct netconn **new_conn); [all …]
|
D | altcp.h | 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); 64 typedef void (*altcp_err_fn)(void *arg, err_t err); 103 err_t altcp_bind(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port); 104 err_t altcp_connect(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn… 107 struct altcp_pcb *altcp_listen_with_backlog_and_err(struct altcp_pcb *conn, u8_t backlog, err_t *er… 113 err_t altcp_close(struct altcp_pcb *conn); [all …]
|
D | tcpip.h | 79 err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn); 80 err_t tcpip_input(struct pbuf *p, struct netif *inp); 82 err_t tcpip_try_callback(tcpip_callback_fn function, void *ctx); 83 err_t tcpip_callback(tcpip_callback_fn function, void *ctx); 91 err_t tcpip_callbackmsg_trycallback(struct tcpip_callback_msg* msg); 92 err_t tcpip_callbackmsg_trycallback_fromisr(struct tcpip_callback_msg* msg); 95 err_t pbuf_free_callback(struct pbuf *p); 96 err_t mem_free_callback(void *m); 99 err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg); 100 err_t tcpip_untimeout(sys_timeout_handler h, void *arg);
|
D | tcp.h | 70 typedef err_t (*tcp_accept_fn)(void *arg, struct tcp_pcb *newpcb, err_t err); 82 typedef err_t (*tcp_recv_fn)(void *arg, struct tcp_pcb *tpcb, 83 struct pbuf *p, err_t err); 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); 120 typedef void (*tcp_err_fn)(void *arg, err_t err); 134 typedef err_t (*tcp_connected_fn)(void *arg, struct tcp_pcb *tpcb, err_t err); 182 typedef err_t (*tcp_extarg_callback_passive_open_fn)(u8_t id, struct tcp_pcb_listen *lpcb, struct t… 402 err_t lwip_tcp_event(void *arg, struct tcp_pcb *pcb, 406 err_t err); [all …]
|
D | netifapi.h | 60 err_t netifapi_arp_add(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, enum netifapi_arp_entry … 62 err_t netifapi_arp_remove(const ip4_addr_t *ipaddr, enum netifapi_arp_entry type); 65 err_t netifapi_netif_add(struct netif *netif, 72 err_t netifapi_netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, 76 err_t netifapi_netif_common(struct netif *netif, netifapi_void_fn voidfunc, 80 err_t netifapi_netif_name_to_index(const char *name, u8_t *index); 82 err_t netifapi_netif_index_to_name(u8_t index, char *name); 160 err_t netifapi_enable_lowpower(void); 161 err_t netifapi_disable_lowpower(void);
|
D | udp.h | 126 err_t udp_bind (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 129 err_t udp_connect (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 134 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 137 err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, 140 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 142 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 145 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 149 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, 152 err_t udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, 154 err_t udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p,
|
D | igmp.h | 91 err_t igmp_start(struct netif *netif); 92 err_t igmp_stop(struct netif *netif); 96 err_t igmp_joingroup(const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr); 97 err_t igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr); 98 err_t igmp_leavegroup(const ip4_addr_t *ifaddr, const ip4_addr_t *groupaddr); 99 err_t igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr);
|
D | ip4.h | 79 err_t ip4_input(struct pbuf *p, struct netif *inp); 80 err_t ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 82 err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 84 err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 87 err_t ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 91 err_t ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, 94 err_t ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
|
/third_party/lwip/src/api/ |
D | api_lib.c | 106 static err_t netconn_close_shutdown(struct netconn *conn, u8_t how); 117 static err_t 120 err_t err; in netconn_apimsg() 157 err_t err; in netconn_new_with_proto_and_callback() 191 err_t 194 err_t err; in netconn_prepare_delete() 232 err_t 235 err_t err; in netconn_delete() 268 err_t 272 err_t err; in netconn_getaddr() [all …]
|
D | netifapi.c | 60 static err_t 89 static err_t 107 static err_t 121 static err_t 143 static err_t 169 err_t 172 err_t err; 199 err_t 202 err_t err; 228 err_t [all …]
|
D | tcpip.c | 233 err_t val; in tcpip_send_msg_na() 306 err_t 310 err_t ret; in tcpip_inpkt() 352 err_t 378 err_t 414 err_t 446 err_t 473 err_t 506 err_t 545 err_t [all …]
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_asn1.h | 84 err_t snmp_asn1_dec_tlv(struct snmp_pbuf_stream *pbuf_stream, struct snmp_asn1_tlv *tlv); 85 err_t snmp_asn1_dec_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *value); 86 err_t snmp_asn1_dec_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, s32_t *value); 87 err_t snmp_asn1_dec_oid(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *oid, u8_t *oid_len,… 88 err_t snmp_asn1_dec_raw(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u8_t *buf, u16_t *buf_len,… 90 err_t snmp_ans1_enc_tlv(struct snmp_pbuf_stream *pbuf_stream, struct snmp_asn1_tlv *tlv); 96 err_t snmp_asn1_enc_oid(struct snmp_pbuf_stream *pbuf_stream, const u32_t *oid, u16_t oid_len); 97 err_t snmp_asn1_enc_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, s32_t value); 98 err_t snmp_asn1_enc_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u32_t value); 99 err_t snmp_asn1_enc_raw(struct snmp_pbuf_stream *pbuf_stream, const u8_t *raw, u16_t raw_len); [all …]
|
D | snmp_pbuf_stream.h | 58 err_t snmp_pbuf_stream_init(struct snmp_pbuf_stream *pbuf_stream, struct pbuf *p, u16_t offset, u16… 59 err_t snmp_pbuf_stream_read(struct snmp_pbuf_stream *pbuf_stream, u8_t *data); 60 err_t snmp_pbuf_stream_write(struct snmp_pbuf_stream *pbuf_stream, u8_t data); 61 err_t snmp_pbuf_stream_writebuf(struct snmp_pbuf_stream *pbuf_stream, const void *buf, u16_t buf_le… 62 err_t snmp_pbuf_stream_writeto(struct snmp_pbuf_stream *pbuf_stream, struct snmp_pbuf_stream *targe… 63 err_t snmp_pbuf_stream_seek(struct snmp_pbuf_stream *pbuf_stream, s32_t offset); 64 err_t snmp_pbuf_stream_seek_abs(struct snmp_pbuf_stream *pbuf_stream, u32_t offset);
|
D | snmp_pbuf_stream.c | 46 err_t 56 err_t 73 err_t 79 err_t 96 err_t 113 err_t err; in snmp_pbuf_stream_writeto() 135 err_t 149 err_t
|
/third_party/lwip/src/netif/ppp/ |
D | pppapi.c | 57 static err_t 72 err_t 75 err_t err; in pppapi_set_default() 90 static err_t 105 err_t 108 err_t err; in pppapi_set_notify_phase_callback() 125 static err_t 166 static err_t 211 static err_t 270 static err_t [all …]
|
/third_party/lwip/src/apps/http/ |
D | http_client.c | 156 static err_t 175 err_t r; in httpc_free_state() 191 static err_t 192 httpc_close(httpc_state_t* req, httpc_result_t result, u32_t server_response, err_t err) in httpc_close() 206 static err_t 247 static err_t 279 static err_t 280 httpc_tcp_recv(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t r) in httpc_tcp_recv() 308 …err_t err = http_parse_response_status(req->rx_hdrs, &req->rx_http_version, &req->rx_status, &stat… in httpc_tcp_recv() 316 err_t err = http_wait_headers(req->rx_hdrs, &req->hdr_content_len, &total_header_len); in httpc_tcp_recv() [all …]
|
D | altcp_proxyconnect.c | 109 static err_t 144 err_t err = altcp_write(conn->inner_conn, buffer, (u16_t)len2, TCP_WRITE_FLAG_COPY); in altcp_proxyconnect_send_request() 160 static err_t 161 altcp_proxyconnect_lower_connected(void *arg, struct altcp_pcb *inner_conn, err_t err) in altcp_proxyconnect_lower_connected() 186 static err_t 187 altcp_proxyconnect_lower_recv(void *arg, struct altcp_pcb *inner_conn, struct pbuf *p, err_t err) in altcp_proxyconnect_lower_recv() 250 static err_t 275 static err_t 290 altcp_proxyconnect_lower_err(void *arg, err_t err) in altcp_proxyconnect_lower_err() 316 static err_t [all …]
|
/third_party/lwip/src/include/netif/ |
D | lowpan6_ble.h | 56 err_t rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr); 57 err_t rfc7668_input(struct pbuf * p, struct netif *netif); 58 err_t rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_l… 59 err_t rfc7668_set_local_addr_mac48(struct netif *netif, const u8_t *local_addr, size_t local_addr_l… 60 err_t rfc7668_set_peer_addr_eui64(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len); 61 err_t rfc7668_set_peer_addr_mac48(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len,… 62 err_t rfc7668_set_context(u8_t index, const ip6_addr_t * context); 63 err_t rfc7668_if_init(struct netif *netif); 66 err_t tcpip_rfc7668_input(struct pbuf *p, struct netif *inp);
|
D | lowpan6.h | 67 err_t lowpan6_set_context(u8_t idx, const ip6_addr_t * context); 68 err_t lowpan6_set_short_addr(u8_t addr_high, u8_t addr_low); 71 err_t lowpan4_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr); 73 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr); 74 err_t lowpan6_input(struct pbuf * p, struct netif *netif); 75 err_t lowpan6_if_init(struct netif *netif); 78 err_t lowpan6_set_pan_id(u16_t pan_id); 83 err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
/third_party/lwip/src/include/lwip/priv/ |
D | altcp_priv.h | 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); 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); 70 typedef err_t (*altcp_write_fn)(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apifla… 71 typedef err_t (*altcp_output_fn)(struct altcp_pcb *conn); 84 typedef err_t (*altcp_get_tcp_addrinfo_fn)(struct altcp_pcb *conn, int local, ip_addr_t *addr, u16_… 130 err_t altcp_default_bind(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port); 131 err_t altcp_default_shutdown(struct altcp_pcb *conn, int shut_rx, int shut_tx); [all …]
|
/third_party/lwip/src/netif/ |
D | lowpan6_ble.c | 149 static err_t 175 err_t 186 err_t 197 err_t 208 err_t 229 static err_t 237 err_t err; in rfc7668_compress() 299 err_t 327 err_t 346 err_t [all …]
|
/third_party/lwip/src/core/ |
D | altcp_tcp.c | 73 static err_t 74 altcp_tcp_accept(void *arg, struct tcp_pcb *new_tpcb, err_t err) in altcp_tcp_accept() 89 static err_t 90 altcp_tcp_connected(void *arg, struct tcp_pcb *tpcb, err_t err) in altcp_tcp_connected() 102 static err_t 103 altcp_tcp_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) in altcp_tcp_recv() 119 static err_t 132 static err_t 146 altcp_tcp_err(void *arg, err_t err) in altcp_tcp_err() 258 static err_t [all …]
|
/third_party/lwip/src/apps/lwiperf/ |
D | lwiperf.c | 178 static err_t lwiperf_tcp_poll(void *arg, struct tcp_pcb *tpcb); 179 static void lwiperf_tcp_err(void *arg, err_t err); 180 static err_t lwiperf_start_tcp_server_impl(const ip_addr_t *local_addr, u16_t local_port, 251 err_t err; in lwiperf_tcp_close() 275 static err_t 279 err_t err; in lwiperf_tcp_client_send_more() 353 static err_t 368 static err_t 369 lwiperf_tcp_client_connected(void *arg, struct tcp_pcb *tpcb, err_t err) in lwiperf_tcp_client_connected() 386 static err_t [all …]
|
/third_party/lwip/src/include/netif/ppp/ |
D | pppapi.h | 106 err_t pppapi_set_default(ppp_pcb *pcb); 108 err_t pppapi_set_notify_phase_callback(ppp_pcb *pcb, ppp_notify_phase_cb_fn notify_phase_cb); 123 err_t pppapi_connect(ppp_pcb *pcb, u16_t holdoff); 125 err_t pppapi_listen(ppp_pcb *pcb); 127 err_t pppapi_close(ppp_pcb *pcb, u8_t nocarrier); 128 err_t pppapi_free(ppp_pcb *pcb); 129 err_t pppapi_ioctl(ppp_pcb *pcb, u8_t cmd, void *arg);
|
/third_party/lwip/src/include/lwip/apps/ |
D | mdns.h | 76 err_t mdns_resp_add_netif(struct netif *netif, const char *hostname, u32_t dns_ttl); 77 err_t mdns_resp_remove_netif(struct netif *netif); 78 err_t mdns_resp_rename_netif(struct netif *netif, const char *hostname); 81 err_t mdns_resp_del_service(struct netif *netif, s8_t slot); 82 err_t mdns_resp_rename_service(struct netif *netif, s8_t slot, const char *name); 84 err_t mdns_resp_add_service_txtitem(struct mdns_service *service, const char *txt, u8_t txt_len);
|