Home
last modified time | relevance | path

Searched refs:err_t (Results 51 - 75 of 195) sorted by relevance

12345678

/third_party/lwip/src/include/lwip/
H A Derr.h94 typedef LWIP_ERR_T err_t; typedef
96 typedef s8_t err_t; typedef
104 extern const char *lwip_strerr(err_t err);
110 int err_to_errno(err_t err);
H A Ddns.h113 err_t dns_gethostbyname(const char *hostname, ip_addr_t *addr,
115 err_t dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr,
122 err_t dns_local_lookup(const char *hostname, ip_addr_t *addr, u8_t dns_addrtype);
125 err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
H A Draw.h111 err_t raw_bind (struct raw_pcb *pcb, const ip_addr_t *ipaddr);
113 err_t raw_connect (struct raw_pcb *pcb, const ip_addr_t *ipaddr);
116 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr);
117 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
118 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Draw.h160 err_t raw_bind (struct raw_pcb *pcb, const ip_addr_t *ipaddr);
161 err_t raw_connect (struct raw_pcb *pcb, const ip_addr_t *ipaddr);
164 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr);
165 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
166 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p);
181 err_t raw_pkt_sendto (struct raw_pcb *pcb, struct pbuf *p, u8_t ifindex);
182 err_t raw_pkt_bind (struct raw_pcb *pcb, u8_t ifindex, u16_t proto);
H A Dip6.h130 err_t ip6_input(struct pbuf *p, struct netif *inp);
132 err_t ip6_output(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
135 err_t ip6_output_if(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
137 err_t ip6_output_if_src(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
140 err_t ip6_output_hinted(struct pbuf *p, const ip6_addr_t *src, const ip6_addr_t *dest,
144 err_t ip6_options_add_hbh_ra(struct pbuf *p, u8_t nexth, u8_t value);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/
H A Dtcpip_priv.h95 err_t tcpip_send_msg_wait_sem(tcpip_callback_fn fn, void *apimsg, sys_sem_t *sem);
99 err_t err;
107 typedef err_t (*tcpip_api_call_fn)(struct tcpip_api_call_data *call);
108 err_t tcpip_api_call(tcpip_api_call_fn fn, struct tcpip_api_call_data *call);
110 err_t tcpip_linklayer_event_call(tcpip_api_call_fn fn, struct tcpip_api_call_data *call);
118 err_t
H A Dtcp_priv.h85 err_t tcp_send_empty_ack(struct tcp_pcb *pcb);
86 err_t tcp_rexmit (struct tcp_pcb *pcb);
90 err_t tcp_process_refused_data(struct tcp_pcb *pcb);
570 err_t tcp_send_fin(struct tcp_pcb *pcb);
571 err_t tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags);
581 err_t tcp_keepalive(struct tcp_pcb *pcb);
582 err_t tcp_zero_window_probe(struct tcp_pcb *pcb);
599 err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err);
622 err_t tcp_output_segmen
[all...]
/third_party/lwip/src/core/ipv4/
H A Digmp.c100 static err_t igmp_remove_group(struct netif *netif, struct igmp_group *group);
104 static err_t igmp_ip_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, struct netif *netif);
127 err_t
159 err_t
292 * @return ERR_OK if group was removed from the list, an err_t otherwise
294 static err_t
297 err_t err = ERR_OK; in igmp_remove_group()
446 * @return ERR_OK if group was joined on the netif(s), an err_t otherwise
448 err_t
451 err_t er
[all...]
/third_party/lwip/src/apps/altcp_tls/
H A Daltcp_tls_mbedtls.c123 static err_t altcp_mbedtls_lower_recv(void *arg, struct altcp_pcb *inner_conn, struct pbuf *p, err_t 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);
137 static err_t
138 altcp_mbedtls_lower_accept(void *arg, struct altcp_pcb *accepted_conn, err_t err) in altcp_mbedtls_lower_accept()
142 err_t setup_err; in altcp_mbedtls_lower_accept()
162 static err_t
163 altcp_mbedtls_lower_connected(void *arg, struct altcp_pcb *inner_conn, err_t er
[all...]
/third_party/lwip/src/apps/smtp/
H A Dsmtp.c15 void my_smtp_result_fn(void *arg, u8_t smtp_result, u16_t srv_err, err_t err)
296 static err_t smtp_verify(const char *data, size_t data_len, u8_t linebreaks_allowed);
298 static err_t smtp_tcp_recv(void *arg, struct altcp_pcb *pcb, struct pbuf *p, err_t err);
299 static void smtp_tcp_err(void *arg, 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);
348 err_t
[all...]
/third_party/lwip/src/core/
H A Daltcp.c302 err_t
315 err_t
329 altcp_listen_with_backlog_and_err(struct altcp_pcb *conn, u8_t backlog, err_t *err) in altcp_listen_with_backlog_and_err()
353 err_t
366 err_t
379 err_t
392 err_t
477 err_t
551 err_t
560 err_t
[all...]
/third_party/lwip/src/netif/ppp/
H A Dpppol2tp.c73 static err_t pppol2tp_write(ppp_pcb *ppp, void *ctx, struct pbuf *p);
74 static err_t pppol2tp_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *p, u_short protocol);
75 static err_t pppol2tp_destroy(ppp_pcb *ppp, void *ctx); /* Destroy a L2TP control block */
84 static err_t pppol2tp_send_sccrq(pppol2tp_pcb *l2tp);
85 static err_t pppol2tp_send_scccn(pppol2tp_pcb *l2tp, u16_t ns);
86 static err_t pppol2tp_send_icrq(pppol2tp_pcb *l2tp, u16_t ns);
87 static err_t pppol2tp_send_iccn(pppol2tp_pcb *l2tp, u16_t ns);
88 static err_t pppol2tp_send_zlb(pppol2tp_pcb *l2tp, u16_t ns, u16_t nr);
89 static err_t pppol2tp_send_stopccn(pppol2tp_pcb *l2tp, u16_t ns);
90 static err_t pppol2tp_xmi
[all...]
H A Dpppos.c58 static err_t pppos_write(ppp_pcb *ppp, void *ctx, struct pbuf *p);
59 static err_t pppos_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *pb, u16_t protocol);
65 static err_t pppos_destroy(ppp_pcb *ppp, void *ctx);
75 static err_t pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs);
76 static err_t pppos_output_last(pppos_pcb *pppos, err_t err, struct pbuf *nb, u16_t *fcs);
199 static err_t
207 err_t err; in pppos_write()
252 static err_t
[all...]
H A Dpppoe.c120 static err_t pppoe_write(ppp_pcb *ppp, void *ctx, struct pbuf *p);
121 static err_t pppoe_netif_output(ppp_pcb *ppp, void *ctx, struct pbuf *p, u_short protocol);
124 static err_t pppoe_destroy(ppp_pcb *ppp, void *ctx);
136 static err_t pppoe_send_padi(struct pppoe_softc *);
137 static err_t pppoe_send_padr(struct pppoe_softc *);
139 static err_t pppoe_send_pado(struct pppoe_softc *);
140 static err_t pppoe_send_pads(struct pppoe_softc *);
142 static err_t pppoe_send_padt(struct netif *, u_int, const u8_t *);
145 static err_t pppoe_xmit(struct pppoe_softc *sc, struct pbuf *pb);
209 static err_t pppoe_writ
[all...]
/third_party/lwip/src/include/lwip/apps/
H A Dsnmpv3.h76 err_t snmpv3_set_engine_id(const char* id, u8_t len);
84 err_t snmpv3_get_user(const char* username, snmpv3_auth_algo_t *auth_algo, u8_t *auth_key, snmpv3_priv_algo_t *priv_algo, u8_t *priv_key);
86 err_t snmpv3_get_user_storagetype(const char *username, snmpv3_user_storagetype_t *storagetype);
87 err_t snmpv3_get_username(char *username, u8_t index);
H A Dmqtt.h173 typedef void (*mqtt_request_cb_t)(void *arg, err_t err);
176 err_t mqtt_client_connect(mqtt_client_t *client, const ip_addr_t *ipaddr, u16_t port, mqtt_connection_cb_t cb, void *arg,
189 err_t mqtt_sub_unsub(mqtt_client_t *client, const char *topic, u8_t qos, mqtt_request_cb_t cb, void *arg, u8_t sub);
198 err_t mqtt_publish(mqtt_client_t *client, const char *topic, const void *payload, u16_t payload_length, u8_t qos, u8_t retain,
/third_party/lwip/src/include/lwip/priv/
H A Dtcp_priv.h82 err_t tcp_send_empty_ack(struct tcp_pcb *pcb);
83 err_t tcp_rexmit (struct tcp_pcb *pcb);
84 err_t tcp_rexmit_rto_prepare(struct tcp_pcb *pcb);
89 err_t tcp_process_refused_data(struct tcp_pcb *pcb);
462 err_t tcp_send_fin(struct tcp_pcb *pcb);
463 err_t tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags);
473 err_t tcp_keepalive(struct tcp_pcb *pcb);
474 err_t tcp_split_unsent_seg(struct tcp_pcb *pcb, u16_t split);
475 err_t tcp_zero_window_probe(struct tcp_pcb *pcb);
491 err_t tcp_recv_nul
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/netif/
H A Dethernet.h66 err_t ethernet_input(struct pbuf *p, struct netif *netif);
67 err_t ethernet_input_list(struct pbuf *p, struct netif *netif);
68 err_t ethernet_output(struct netif *netif, struct pbuf *p, const struct eth_addr *src, const struct eth_addr *dst,
/third_party/lwip/src/include/netif/
H A Dbridgeif.h94 err_t bridgeif_init(struct netif *netif);
95 err_t bridgeif_add_port(struct netif *bridgeif, struct netif *portif);
96 err_t bridgeif_fdb_add(struct netif *bridgeif, const struct eth_addr *addr, bridgeif_portmask_t ports);
97 err_t bridgeif_fdb_remove(struct netif *bridgeif, const struct eth_addr *addr);
/third_party/lwip/test/unit/tcp/
H A Dtcp_helper.h17 err_t last_err;
47 void test_tcp_counters_err(void* arg, err_t err);
48 err_t test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err);
/third_party/lwip/src/apps/snmp/
H A Dsnmp_traps.c81 static err_t snmp_trap_header_enc(struct snmp_msg_trap *trap, struct snmp_pbuf_stream *pbuf_stream);
82 static err_t snmp_trap_varbind_enc(struct snmp_msg_trap *trap, struct snmp_pbuf_stream *pbuf_stream, struct snmp_varbind *varbinds);
172 err_t
179 err_t err = ERR_OK; in snmp_send_trap()
240 err_t
251 err_t
369 static err_t
392 static err_t
H A Dsnmpv3_priv.h61 err_t snmpv3_auth(struct snmp_pbuf_stream *stream, u16_t length, const u8_t *key, snmpv3_auth_algo_t algo, u8_t *hmac_out);
62 err_t snmpv3_crypt(struct snmp_pbuf_stream *stream, u16_t length, const u8_t *key,
64 err_t snmpv3_build_priv_param(u8_t *priv_param);
/third_party/lwip/src/core/ipv6/
H A Dmld6.c85 static err_t mld6_remove_group(struct netif *netif, struct mld_group *group);
95 err_t
191 * @return ERR_OK if group was removed from the list, an err_t otherwise
193 static err_t
196 err_t err = ERR_OK; in mld6_remove_group()
312 * @return ERR_OK if group was joined on the netif(s), an err_t otherwise
314 err_t
317 err_t err = ERR_VAL; /* no matching interface */
348 * @return ERR_OK if group was joined on the netif, an err_t otherwise
350 err_t
[all...]
/third_party/lwip/src/netif/
H A Dbridgeif.c134 err_t
167 err_t
248 static err_t
273 static err_t
276 err_t err, ret_err = ERR_OK; in bridgeif_send_to_ports()
297 static err_t
300 err_t err; in bridgeif_output()
325 static err_t
392 static err_t
410 * any other err_t o
[all...]
/third_party/lwip/src/apps/http/
H A Dhttpd.c308 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);
310 static err_t http_find_file(struct http_state *hs, const char *uri, int is_09);
311 static err_t http_init_file(struct http_state *hs, struct fs_file *file, int is_09, const char *uri, u8_t tag_check, char *params);
312 static err_t http_poll(void *arg, struct altcp_pcb *pcb);
532 static err_t
536 err_t err; in http_write()
595 static err_t
598 err_t err; in http_close_or_abort_conn()
645 static err_t
[all...]

Completed in 18 milliseconds

12345678