Home
last modified time | relevance | path

Searched refs:addr_str (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/sockets/udp_server/main/
Dudp_server.c33 char addr_str[128]; in udp_server_task() local
92 … inet_ntoa_r(((struct sockaddr_in *)&source_addr)->sin_addr, addr_str, sizeof(addr_str) - 1); in udp_server_task()
94 … inet6_ntoa_r(((struct sockaddr_in6 *)&source_addr)->sin6_addr, addr_str, sizeof(addr_str) - 1); in udp_server_task()
98 ESP_LOGI(TAG, "Received %d bytes from %s:", len, addr_str); in udp_server_task()
/hal_espressif-3.6.0/examples/protocols/http_server/captive_portal/main/
Ddns_server.c168 char addr_str[128]; in dns_server_task() local
180 inet_ntoa_r(dest_addr.sin_addr, addr_str, sizeof(addr_str) - 1); in dns_server_task()
211 …inet_ntoa_r(((struct sockaddr_in *)&source_addr)->sin_addr.s_addr, addr_str, sizeof(addr_str) - 1); in dns_server_task()
213 inet6_ntoa_r(source_addr.sin6_addr, addr_str, sizeof(addr_str) - 1); in dns_server_task()
222 … ESP_LOGI(TAG, "Received %d bytes from %s | DNS reply with len: %d", len, addr_str, reply_len); in dns_server_task()
/hal_espressif-3.6.0/examples/protocols/sockets/tcp_server/main/
Dtcp_server.c65 char addr_str[128]; in tcp_server_task() local
140 … inet_ntoa_r(((struct sockaddr_in *)&source_addr)->sin_addr, addr_str, sizeof(addr_str) - 1); in tcp_server_task()
144 … inet6_ntoa_r(((struct sockaddr_in6 *)&source_addr)->sin6_addr, addr_str, sizeof(addr_str) - 1); in tcp_server_task()
147 ESP_LOGI(TAG, "Socket accepted ip address: %s", addr_str); in tcp_server_task()
/hal_espressif-3.6.0/tools/test_apps/protocols/pppos/main/
Dpppos_client_main.c31 static char addr_str[128]; variable
101 inet_ntoa_r(dest_addr.sin_addr, addr_str, sizeof(addr_str) - 1); in test_tcp_client_ipv4()
145 inet6_ntoa_r(dest_addr.sin6_addr, addr_str, sizeof(addr_str) - 1); in test_tcp_server_ipv6()
179 inet6_ntoa_r(source_addr.sin6_addr, addr_str, sizeof(addr_str) - 1); in test_tcp_server_ipv6()
180 ESP_LOGI(TAG, "Socket accepted ip address: %s", addr_str); in test_tcp_server_ipv6()
/hal_espressif-3.6.0/examples/protocols/slip/slip_udp/main/
Dslip_client_main.c30 char addr_str[128]; in udp_rx_tx_task() local
51 …inet_ntoa_r(((struct sockaddr_in *)&source_addr)->sin_addr.s_addr, addr_str, sizeof(addr_str) - 1); in udp_rx_tx_task()
53 … inet6_ntoa_r(((struct sockaddr_in6 *)&source_addr)->sin6_addr, addr_str, sizeof(addr_str) - 1); in udp_rx_tx_task()
58 ESP_LOGI(TAG, "Received '%s' from '%s'", rx_buff, addr_str); in udp_rx_tx_task()
/hal_espressif-3.6.0/examples/bluetooth/nimble/ble_spp/spp_client/main/
Dmisc.c47 addr_str(const void *addr) in addr_str() function
75 addr_str(desc->our_ota_addr.val)); in print_conn_desc()
77 desc->our_id_addr.type, addr_str(desc->our_id_addr.val)); in print_conn_desc()
79 desc->peer_ota_addr.type, addr_str(desc->peer_ota_addr.val)); in print_conn_desc()
81 desc->peer_id_addr.type, addr_str(desc->peer_id_addr.val)); in print_conn_desc()
161 MODLOG_DFLT(DEBUG, "public_tgt_addr=%s ", addr_str(u8p)); in print_adv_fields()
Dble_spp_client.h31 char *addr_str(const void *addr);
Dmain.c188 disc->addr.type, addr_str(disc->addr.val), rc); in ble_spp_client_connect_if_interesting()
/hal_espressif-3.6.0/examples/bluetooth/nimble/blecent/main/
Dmisc.c60 addr_str(const void *addr) in addr_str() function
88 addr_str(desc->our_ota_addr.val)); in print_conn_desc()
90 desc->our_id_addr.type, addr_str(desc->our_id_addr.val)); in print_conn_desc()
92 desc->peer_ota_addr.type, addr_str(desc->peer_ota_addr.val)); in print_conn_desc()
94 desc->peer_id_addr.type, addr_str(desc->peer_id_addr.val)); in print_conn_desc()
174 MODLOG_DFLT(DEBUG, "public_tgt_addr=%s ", addr_str(u8p)); in print_adv_fields()
Dblecent.h44 char *addr_str(const void *addr);
Dmain.c353 disc->addr.type, addr_str(disc->addr.val), rc); in blecent_connect_if_interesting()
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/main/
Dmisc.c47 addr_str(const void *addr) in addr_str() function
75 addr_str(desc->our_ota_addr.val)); in print_conn_desc()
77 desc->our_id_addr.type, addr_str(desc->our_id_addr.val)); in print_conn_desc()
79 desc->peer_ota_addr.type, addr_str(desc->peer_ota_addr.val)); in print_conn_desc()
81 desc->peer_id_addr.type, addr_str(desc->peer_id_addr.val)); in print_conn_desc()
161 MODLOG_DFLT(DEBUG, "public_tgt_addr=%s ", addr_str(u8p)); in print_adv_fields()
Dgattc.h33 char *addr_str(const void *addr);
Dmain.c497 disc->addr.type, addr_str(disc->addr.val), rc); in blecent_connect_if_interesting()
/hal_espressif-3.6.0/components/ulp/
Desp32ulp_mapgen.py24 name, _, addr_str = line.split(' ', 2)
25 addr = int(addr_str, 16) + BASE_ADDR
39 addr_str, _, name = line.split()
40 addr = int(addr_str, 16) + BASE_ADDR
/hal_espressif-3.6.0/examples/openthread/ot_cli/main/
Desp_ot_udp_socket.c21 char addr_str[128]; in udp_socket_server_task() local
63 inet6_ntoa_r(((struct sockaddr_in6 *)&source_addr)->sin6_addr, addr_str, sizeof(addr_str) - 1); in udp_socket_server_task()
66 ESP_LOGI(TAG, "Received %d bytes from %s:", len, addr_str); in udp_socket_server_task()
Desp_ot_tcp_socket.c21 char addr_str[128]; in tcp_socket_server_task() local
80 inet6_ntoa_r(((struct sockaddr_in6 *)&source_addr)->sin6_addr, addr_str, sizeof(addr_str) - 1); in tcp_socket_server_task()
81 ESP_LOGI(TAG, "Socket accepted ip address: %s", addr_str); in tcp_socket_server_task()