Home
last modified time | relevance | path

Searched refs:err_t (Results 1 – 25 of 153) sorted by relevance

1234567

/third_party/lwip/src/include/lwip/
Dapi.h231 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 …]
Dtcpip.h79 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);
Daltcp.h59 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 …]
Dtcp.h70 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 …]
Dudp.h122 err_t udp_bind (struct udp_pcb *pcb, const ip_addr_t *ipaddr,
125 err_t udp_connect (struct udp_pcb *pcb, const ip_addr_t *ipaddr,
130 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p,
133 err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p,
136 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p,
138 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p);
141 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p,
145 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p,
148 err_t udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p,
150 err_t udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p,
Digmp.h91 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);
Dip4.h71 err_t ip4_input(struct pbuf *p, struct netif *inp);
72 err_t ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
74 err_t ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
76 err_t ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
79 err_t ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
83 err_t ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
86 err_t ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
Dnetifapi.h60 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);
Dip6.h62 err_t ip6_input(struct pbuf *p, struct netif *inp);
63 err_t ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
65 err_t ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
67 err_t ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
70 err_t ip6_output_hinted(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
74 err_t ip6_options_add_hbh_ra(struct pbuf * p, u8_t nexth, u8_t value);
/third_party/lwip/src/api/
Dapi_lib.c106 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 …]
Dnetifapi.c60 static err_t
86 static err_t
104 static err_t
118 static err_t
136 static err_t
162 err_t
165 err_t err; in netifapi_arp_add()
192 err_t
195 err_t err; in netifapi_arp_remove()
221 err_t
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_asn1.h84 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 …]
Dsnmp_pbuf_stream.h58 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);
Dsnmp_pbuf_stream.c46 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/include/netif/
Dlowpan6_ble.h56 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);
Dlowpan6.h64 err_t lowpan6_set_context(u8_t idx, const ip6_addr_t * context);
65 err_t lowpan6_set_short_addr(u8_t addr_high, u8_t addr_low);
68 err_t lowpan4_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr);
70 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
71 err_t lowpan6_input(struct pbuf * p, struct netif *netif);
72 err_t lowpan6_if_init(struct netif *netif);
75 err_t lowpan6_set_pan_id(u16_t pan_id);
80 err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
/third_party/lwip/src/include/lwip/priv/
Daltcp_priv.h61 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/ppp/
Dpppapi.c57 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/
Dhttp_client.c156 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()
308err_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 …]
/third_party/boost/libs/filesystem/src/
Derror_handling.hpp32 typedef int err_t; typedef
43 typedef boost::winapi::DWORD_ err_t;
57 void emit_error(err_t error_num, system::error_code* ec, const char* message);
58 void emit_error(err_t error_num, const path& p, system::error_code* ec, const char* message);
59 void emit_error(err_t error_num, const path& p1, const path& p2, system::error_code* ec, const char…
61 inline bool error(err_t error_num, system::error_code* ec, const char* message) in error()
76 inline bool error(err_t error_num, const path& p, system::error_code* ec, const char* message) in error()
91 inline bool error(err_t error_num, const path& p1, const path& p2, system::error_code* ec, const ch… in error()
/third_party/lwip/src/netif/
Dlowpan6_ble.c149 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/include/lwip/apps/
Dmdns.h76 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);
Dsmtp.h42 typedef void (*smtp_result_fn)(void *arg, u8_t smtp_result, u16_t srv_err, err_t err);
102 err_t smtp_send_mail_bodycback(const char *from, const char* to, const char* subject,
108 err_t smtp_set_server_addr(const char* server);
114 err_t smtp_set_auth(const char* username, const char* pass);
115 err_t smtp_send_mail(const char *from, const char* to, const char* subject, const char* body,
117 err_t smtp_send_mail_static(const char *from, const char* to, const char* subject, const char* body,
/third_party/lwip/src/include/netif/ppp/
Dpppapi.h106 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/core/
Daltcp_tcp.c73 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 …]

1234567