| /lib/lwip/lwip/src/core/ |
| A D | timeouts.c | 144 tcpip_tcp_timer(void *arg) in tcpip_tcp_timer() argument 146 LWIP_UNUSED_ARG(arg); in tcpip_tcp_timer() 196 timeout->arg = arg; in sys_timeout_abs() 232 lwip_cyclic_timer(void *arg) in lwip_cyclic_timer() argument 258 sys_timeout_abs(next_timeout_time, lwip_cyclic_timer, arg); in lwip_cyclic_timer() 304 sys_timeout_abs(next_timeout_time, handler, arg); in sys_timeout_debug() 317 sys_untimeout(sys_timeout_handler handler, void *arg) in sys_untimeout() argument 328 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout() 364 void *arg; in sys_check_timeouts() local 380 arg = tmptimeout->arg; in sys_check_timeouts() [all …]
|
| A D | altcp_tcp.c | 93 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_connected() 97 return conn->connected(conn->arg, conn, err); in altcp_tcp_connected() 106 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_tcp_recv() 110 return conn->recv(conn->arg, conn, p, err); in altcp_tcp_recv() 127 return conn->sent(conn->arg, conn, len); in altcp_tcp_sent() 134 altcp_tcp_poll(void *arg, struct tcp_pcb *tpcb) in altcp_tcp_poll() argument 140 return conn->poll(conn->arg, conn); in altcp_tcp_poll() 147 altcp_tcp_err(void *arg, err_t err) in altcp_tcp_err() argument 153 conn->err(conn->arg, err); in altcp_tcp_err() 218 altcp_tcp_alloc(void *arg, u8_t ip_type) in altcp_tcp_alloc() argument [all …]
|
| /lib/lwip/lwip/src/include/lwip/apps/ |
| A D | mqtt.h | 126 typedef void (*mqtt_connection_cb_t)(mqtt_client_t *client, void *arg, mqtt_connection_status_t sta… 149 typedef void (*mqtt_incoming_data_cb_t)(void *arg, const u8_t *data, u16_t len, u8_t flags); 161 typedef void (*mqtt_incoming_publish_cb_t)(void *arg, const char *topic, u32_t tot_len); 173 typedef void (*mqtt_request_cb_t)(void *arg, err_t err); 176 …ect(mqtt_client_t *client, const ip_addr_t *ipaddr, u16_t port, mqtt_connection_cb_t cb, void *arg, 187 mqtt_incoming_data_cb_t data_cb, void *arg); 189 …sub(mqtt_client_t *client, const char *topic, u8_t qos, mqtt_request_cb_t cb, void *arg, u8_t sub); 193 #define mqtt_subscribe(client, topic, qos, cb, arg) mqtt_sub_unsub(client, topic, qos, cb, arg, 1) argument 196 #define mqtt_unsubscribe(client, topic, cb, arg) mqtt_sub_unsub(client, topic, 0, cb, arg, 0) argument 199 mqtt_request_cb_t cb, void *arg);
|
| A D | mdns_out.h | 112 void mdns_multicast_timeout_reset_ipv4(void *arg); 113 void mdns_multicast_probe_timeout_reset_ipv4(void *arg); 114 void mdns_multicast_timeout_25ttl_reset_ipv4(void *arg); 115 void mdns_send_multicast_msg_delayed_ipv4(void *arg); 116 void mdns_send_unicast_msg_delayed_ipv4(void *arg); 120 void mdns_multicast_timeout_reset_ipv6(void *arg); 121 void mdns_multicast_probe_timeout_reset_ipv6(void *arg); 122 void mdns_multicast_timeout_25ttl_reset_ipv6(void *arg); 123 void mdns_send_multicast_msg_delayed_ipv6(void *arg); 124 void mdns_send_unicast_msg_delayed_ipv6(void *arg);
|
| /lib/lwip/lwip/src/include/lwip/ |
| A D | timeouts.h | 91 typedef void (* sys_timeout_handler)(void *arg); 97 void *arg; member 106 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam… 107 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 109 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg); 112 void sys_untimeout(sys_timeout_handler handler, void *arg); 119 void lwip_cyclic_timer(void *arg);
|
| A 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); 66 typedef struct altcp_pcb* (*altcp_new_fn)(void *arg, u8_t ip_type); 71 void *arg; member 89 void *arg; member 96 void altcp_arg(struct altcp_pcb *conn, void *arg);
|
| /lib/lwip/lwip/contrib/examples/mqtt/ |
| A D | mqtt_example.c | 65 mqtt_incoming_data_cb(void *arg, const u8_t *data, u16_t len, u8_t flags) in mqtt_incoming_data_cb() argument 67 …nst struct mqtt_connect_client_info_t* client_info = (const struct mqtt_connect_client_info_t*)arg; in mqtt_incoming_data_cb() 75 mqtt_incoming_publish_cb(void *arg, const char *topic, u32_t tot_len) in mqtt_incoming_publish_cb() argument 77 …nst struct mqtt_connect_client_info_t* client_info = (const struct mqtt_connect_client_info_t*)arg; in mqtt_incoming_publish_cb() 84 mqtt_request_cb(void *arg, err_t err) in mqtt_request_cb() argument 86 …nst struct mqtt_connect_client_info_t* client_info = (const struct mqtt_connect_client_info_t*)arg; in mqtt_request_cb() 92 mqtt_connection_cb(mqtt_client_t *client, void *arg, mqtt_connection_status_t status) in mqtt_connection_cb() argument 94 …nst struct mqtt_connect_client_info_t* client_info = (const struct mqtt_connect_client_info_t*)arg; in mqtt_connection_cb()
|
| /lib/lwip/lwip/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() 216 return conn->recv(conn->arg, conn, p, err); in altcp_proxyconnect_lower_recv() 253 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_sent() 265 return conn->sent(conn->arg, conn, len); in altcp_proxyconnect_lower_sent() 278 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_poll() 283 return conn->poll(conn->arg, conn); in altcp_proxyconnect_lower_poll() 290 altcp_proxyconnect_lower_err(void *arg, err_t err) in altcp_proxyconnect_lower_err() argument 292 struct altcp_pcb *conn = (struct altcp_pcb *)arg; in altcp_proxyconnect_lower_err() 296 conn->err(conn->arg, err); in altcp_proxyconnect_lower_err() [all …]
|
| /lib/lwip/lwip/test/fuzz/ |
| A D | fuzz_common.c | 317 LWIP_UNUSED_ARG(arg); in tcp_client_connected() 333 LWIP_UNUSED_ARG(arg); in tcp_client_recv() 355 LWIP_UNUSED_ARG(arg); in tcp_client_sent() 368 LWIP_UNUSED_ARG(arg); in tcp_client_poll() 380 LWIP_UNUSED_ARG(arg); in tcp_client_err() 391 LWIP_UNUSED_ARG(arg); in tcp_server_recv() 413 LWIP_UNUSED_ARG(arg); in tcp_server_sent() 426 LWIP_UNUSED_ARG(arg); in tcp_server_poll() 438 LWIP_UNUSED_ARG(arg); in tcp_server_err() 449 LWIP_UNUSED_ARG(arg); in tcp_server_accept() [all …]
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | utils.c | 461 printer(arg, "]"); in ppp_format_packet() 471 printer(arg, "%.8B ...", p); in ppp_format_packet() 481 printer(arg, "%.32B ...", p); in ppp_format_packet() 483 printer(arg, "%.*B", len, p); in ppp_format_packet() 575 printer(arg, "\""); in ppp_print_string() 580 printer(arg, "\\"); in ppp_print_string() 581 printer(arg, "%c", c); in ppp_print_string() 585 printer(arg, "\\n"); in ppp_print_string() 588 printer(arg, "\\r"); in ppp_print_string() 591 printer(arg, "\\t"); in ppp_print_string() [all …]
|
| A D | upap.c | 121 static void upap_timeout(void *arg); 201 static void upap_timeout(void *arg) { in upap_timeout() argument 202 ppp_pcb *pcb = (ppp_pcb*)arg; in upap_timeout() 224 ppp_pcb *pcb = (ppp_pcb*)arg; in upap_reqtimeout() 622 printer(arg, " code=0x%x", code); in upap_printpkt() 623 printer(arg, " id=0x%x", id); in upap_printpkt() 639 printer(arg, " user="); in upap_printpkt() 641 printer(arg, " password="); in upap_printpkt() 649 printer(arg, "<hidden>"); in upap_printpkt() 662 printer(arg, " "); in upap_printpkt() [all …]
|
| A D | eap.c | 105 void (*)(void *arg, const char *fmt, ...), void *arg); 209 ppp_pcb *pcb = (ppp_pcb*)arg; in eap_client_timeout() 2191 printer(arg, ">"); in eap_printpkt() 2212 printer(arg, ">"); in eap_printpkt() 2235 arg); in eap_printpkt() 2236 printer(arg, ">"); in eap_printpkt() 2281 printer(arg, " E"); in eap_printpkt() 2328 printer(arg, ">"); in eap_printpkt() 2344 printer(arg, ">"); in eap_printpkt() 2362 printer(arg, ">"); in eap_printpkt() [all …]
|
| A D | ipv6cp.c | 341 char *comma, *arg, c; local 349 arg = *argv; 351 comma = arg + strlen(arg); 356 if (comma != arg) { 397 void *arg; 403 printer(arg, ","); 1342 ipv6cp_script_done(arg) 1343 void *arg; 1438 printer(arg, " <"); 1466 printer(arg, ">"); [all …]
|
| A D | chap-new.c | 91 static void chap_timeout(void *arg); 223 static void chap_timeout(void *arg) { in chap_timeout() argument 224 ppp_pcb *pcb = (ppp_pcb*)arg; in chap_timeout() 610 printer(arg, " code=0x%x", code); 611 printer(arg, " id=0x%x", id); 623 printer(arg, " <"); 626 printer(arg, "%.2x", x); 628 printer(arg, ">, name = "); 633 printer(arg, " "); 634 ppp_print_string(p, len, printer, arg); [all …]
|
| A D | lcp.c | 354 void *arg; 497 fsm *f = (fsm*)arg; in lcp_delayed_up() 2423 printer(arg, " <"); in lcp_printpkt() 2449 printer(arg, "pap"); in lcp_printpkt() 2480 printer(arg, "eap"); in lcp_printpkt() 2496 printer(arg, "lqr"); in lcp_printpkt() 2576 printer(arg, ">"); in lcp_printpkt() 2583 printer(arg, " "); in lcp_printpkt() 2615 printer(arg, " "); in lcp_printpkt() 2631 printer(arg, " ..."); in lcp_printpkt() [all …]
|
| /lib/lwip/lwip/contrib/apps/tcpecho_raw/ |
| A D | tcpecho_raw.c | 134 tcpecho_raw_error(void *arg, err_t err) in tcpecho_raw_error() argument 140 es = (struct tcpecho_raw_state *)arg; in tcpecho_raw_error() 146 tcpecho_raw_poll(void *arg, struct tcp_pcb *tpcb) in tcpecho_raw_poll() argument 151 es = (struct tcpecho_raw_state *)arg; in tcpecho_raw_poll() 172 tcpecho_raw_sent(void *arg, struct tcp_pcb *tpcb, u16_t len) in tcpecho_raw_sent() argument 178 es = (struct tcpecho_raw_state *)arg; in tcpecho_raw_sent() 195 tcpecho_raw_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) in tcpecho_raw_recv() argument 200 LWIP_ASSERT("arg != NULL",arg != NULL); in tcpecho_raw_recv() 201 es = (struct tcpecho_raw_state *)arg; in tcpecho_raw_recv() 248 tcpecho_raw_accept(void *arg, struct tcp_pcb *newpcb, err_t err) in tcpecho_raw_accept() argument [all …]
|
| /lib/ |
| A D | getopt.c | 70 gs->arg = NULL; in __getopt() 79 gs->arg = argv[gs->index++] + gs->arg_index + 1; in __getopt() 85 gs->arg = NULL; in __getopt() 94 gs->arg = argv[gs->index++]; in __getopt() 100 gs->arg = NULL; in __getopt() 108 gs->arg = argv[gs->index++] + gs->arg_index + 1; in __getopt() 123 gs->arg = argv[gs->index++]; in __getopt()
|
| /lib/lwip/lwip/src/api/ |
| A D | tcpip.c | 127 tcpip_thread(void *arg) in tcpip_thread() argument 130 LWIP_UNUSED_ARG(arg); in tcpip_thread() 166 msg->msg.api_call.arg->err = msg->msg.api_call.function(msg->msg.api_call.arg); in tcpip_thread_handle_msg() 194 sys_untimeout(msg->msg.tmo.h, msg->msg.tmo.arg); in tcpip_thread_handle_msg() 382 tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg) in tcpip_timeout() argument 396 msg->msg.tmo.arg = arg; in tcpip_timeout() 409 tcpip_untimeout(sys_timeout_handler h, void *arg) in tcpip_untimeout() argument 422 msg->msg.tmo.arg = arg; in tcpip_untimeout() 500 TCPIP_MSG_VAR_REF(msg).msg.api_call.arg = call; in tcpip_api_call() 650 tcpip_init(tcpip_init_done_fn initfunc, void *arg) in tcpip_init() argument [all …]
|
| /lib/lwip/lwip/src/apps/smtp/ |
| A D | smtp.c | 695 smtp_send_mail_int(void *arg) in smtp_send_mail_int() argument 760 void *arg = s->callback_arg; in smtp_free() local 766 fn(arg, result, srv_err, err); in smtp_free() 794 smtp_tcp_err(void *arg, err_t err) in smtp_tcp_err() argument 797 if (arg != NULL) { in smtp_tcp_err() 807 if (arg != NULL) { in smtp_tcp_poll() 813 smtp_process(arg, pcb, NULL); in smtp_tcp_poll() 823 smtp_process(arg, pcb, NULL); in smtp_tcp_sent() 835 smtp_process(arg, pcb, p); in smtp_tcp_recv() 846 LWIP_UNUSED_ARG(arg); in smtp_tcp_connected() [all …]
|
| /lib/lwip/lwip/src/apps/mqtt/ |
| A D | mqtt.c | 125 static void mqtt_cyclic_timer(void *arg); 298 r->arg = arg; in mqtt_create_request() 403 r->cb(r->arg, ERR_TIMEOUT); in mqtt_request_time_elapsed() 576 mqtt_cyclic_timer(void *arg) in mqtt_cyclic_timer() argument 579 mqtt_client_t *client = (mqtt_client_t *)arg; in mqtt_cyclic_timer() 818 r->cb(r->arg, ERR_OK); in mqtt_message_received() 1000 r->cb(r->arg, ERR_OK); in mqtt_tcp_sent_cb() 1016 mqtt_tcp_err_cb(void *arg, err_t err) in mqtt_tcp_err_cb() argument 1105 mqtt_request_cb_t cb, void *arg) in mqtt_publish() argument 1252 client->inpub_arg = arg; in mqtt_set_inpub_callback() [all …]
|
| /lib/lwip/lwip/contrib/ports/unix/port/netif/ |
| A D | pcapif.c | 84 timeout(void *arg) in timeout() argument 91 netif = (struct netif *)arg; in timeout() 135 callback(u_char *arg, const struct pcap_pkthdr *hdr, const u_char *pkt) in callback() argument 141 netif = (struct netif *)arg; in callback() 162 pcapif_thread(void *arg) in pcapif_thread() argument 166 netif = arg; in pcapif_thread()
|
| /lib/mbedtls/external/mbedtls/tests/scripts/ |
| A D | docker_env.sh | 65 --build-arg MAKEFLAGS_PARALLEL="-j ${NUM_PROC}" \ 67 ${http_proxy+--build-arg http_proxy=${http_proxy}} \ 68 ${https_proxy+--build-arg https_proxy=${https_proxy}} \ 69 ${MBEDTLS_DOCKER_REGISTRY+--build-arg MY_REGISTRY="${MBEDTLS_DOCKER_REGISTRY}/"} \
|
| /lib/lwip/lwip/contrib/apps/netio/ |
| A D | netio.c | 10 netio_recv(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) in netio_recv() argument 12 LWIP_UNUSED_ARG(arg); in netio_recv() 32 netio_accept(void *arg, struct tcp_pcb *pcb, err_t err) in netio_accept() argument 34 LWIP_UNUSED_ARG(arg); in netio_accept()
|
| /lib/lwip/lwip/doc/ |
| A D | mqtt_client.txt | 57 static void mqtt_connection_cb(mqtt_client_t *client, void *arg, mqtt_connection_status_t status) 64 mqtt_set_inpub_callback(client, mqtt_incoming_publish_cb, mqtt_incoming_data_cb, arg); 67 err = mqtt_subscribe(client, "subtopic", 1, mqtt_sub_request_cb, arg); 80 static void mqtt_sub_request_cb(void *arg, err_t result) 92 Example here uses a global variable, better would be to use a member in arg 97 static void mqtt_incoming_publish_cb(void *arg, const char *topic, u32_t tot_len) 113 static void mqtt_incoming_data_cb(void *arg, const u8_t *data, u16_t len, u8_t flags) 141 void example_publish(mqtt_client_t *client, void *arg) 147 …lish(client, "pub_topic", pub_payload, strlen(pub_payload), qos, retain, mqtt_pub_request_cb, arg); 154 static void mqtt_pub_request_cb(void *arg, err_t result)
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | platform.c | 115 int mbedtls_platform_win32_vsnprintf(char *s, size_t n, const char *fmt, va_list arg) in mbedtls_platform_win32_vsnprintf() argument 125 ret = vsnprintf_s(s, n, _TRUNCATE, fmt, arg); in mbedtls_platform_win32_vsnprintf() 127 ret = vsnprintf(s, n, fmt, arg); in mbedtls_platform_win32_vsnprintf() 144 const char *format, va_list arg) in platform_vsnprintf_uninit() argument 149 ((void) arg); in platform_vsnprintf_uninit() 158 va_list arg) = MBEDTLS_PLATFORM_STD_VSNPRINTF; 162 va_list arg)) in mbedtls_platform_set_vsnprintf() argument
|