Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/sockets/sntp_client/src/
Dmain.c35 inet_pton(AF_INET, SERVER_ADDR, &addr.sin_addr); in main()
62 inet_pton(AF_INET6, SERVER_ADDR6, &addr6.sin6_addr); in main()
/Zephyr-latest/tests/posix/headers/src/
Darpa_inet_h.c31 zassert_not_null(inet_pton); in ZTEST()
/Zephyr-latest/include/zephyr/posix/arpa/
Dinet.h25 int inet_pton(sa_family_t family, const char *src, void *dst);
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dtcp.c117 inet_pton(AF_INET, SOCKS5_PROXY_V4_ADDR, in start_tcp_proto()
126 inet_pton(AF_INET6, SOCKS5_PROXY_V6_ADDR, in start_tcp_proto()
242 inet_pton(AF_INET6, CONFIG_NET_CONFIG_PEER_IPV6_ADDR, in start_tcp()
256 inet_pton(AF_INET, CONFIG_NET_CONFIG_PEER_IPV4_ADDR, in start_tcp()
Dudp.c312 inet_pton(AF_INET6, CONFIG_NET_CONFIG_PEER_IPV6_ADDR, in start_udp()
326 inet_pton(AF_INET, CONFIG_NET_CONFIG_PEER_IPV4_ADDR, in start_udp()
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/
Dudp.c134 err = inet_pton(AF_INET, CONFIG_NET_SAMPLE_MQTT_SN_BROADCAST_IP, &bcaddr.sin_addr); in process_thread()
155 err = inet_pton(AF_INET, SAMPLE_GW_IP, &gwaddr.sin_addr); in process_thread()
/Zephyr-latest/samples/net/mqtt_publisher/src/
Dmain.c273 inet_pton(AF_INET6, SERVER_ADDR, &broker6->sin6_addr); in broker_init()
280 inet_pton(AF_INET6, SOCKS5_PROXY_ADDR, &proxy6->sin6_addr); in broker_init()
287 inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
293 inet_pton(AF_INET, SOCKS5_PROXY_ADDR, &proxy4->sin_addr); in broker_init()
/Zephyr-latest/drivers/bluetooth/hci/
Duserchan.c360 if (inet_pton(AF_INET, ip_addr, &(addr.sin_addr)) <= 0) { in user_chan_open()
454 if (inet_pton(AF_INET, ip_addr, &addr) != 1) { in DT_INST_FOREACH_STATUS_OKAY()
/Zephyr-latest/samples/net/sockets/http_client/src/
Dmain.c48 inet_pton(family, server, &net_sin(addr)->sin_addr); in setup_socket()
52 inet_pton(family, server, &net_sin6(addr)->sin6_addr); in setup_socket()
/Zephyr-latest/samples/net/sockets/websocket_client/src/
Dmain.c62 inet_pton(family, server, &net_sin(addr)->sin_addr); in setup_socket()
66 inet_pton(family, server, &net_sin6(addr)->sin6_addr); in setup_socket()
/Zephyr-latest/tests/net/socket/tls_configurations/src/
Dmain.c90 inet_pton(AF_INET, "127.0.0.1", &addr.sin_addr); in create_socket()
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/
Dmain.c132 inet_pton(AF_INET, SERVER_ADDR, &broker4->sin_addr); in broker_init()
140 inet_pton(AF_INET, SOCKS5_PROXY_ADDR, &proxy4->sin_addr); in broker_init()
/Zephyr-latest/lib/posix/options/
Dnet.c92 int inet_pton(sa_family_t family, const char *src, void *dst) in inet_pton() function
/Zephyr-latest/tests/net/socket/tls_ext/src/
Dmain.c354 r = inet_pton(AF_INET, MY_IPV4_ADDR, &sa.sin_addr.s_addr); in test_common()
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c66 inet_pton(AF_INET6, CONFIG_NET_CONFIG_PEER_IPV6_ADDR, in start_coap_client()
/Zephyr-latest/doc/services/portability/posix/option_groups/
Dindex.rst386 inet_pton(),yes
/Zephyr-latest/doc/releases/
Drelease-notes-1.14.rst1706 * :github:`12441` - include: net: Link error when inet_pton() is used and wifi offloading is enabled