Home
last modified time | relevance | path

Searched refs:bind_addr4 (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/samples/net/sockets/echo_async/src/
Dsocket_echo.c114 struct sockaddr_in bind_addr4 = { in main() local
138 res = bind(serv4, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in main()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c101 struct sockaddr_in bind_addr4 = { local
124 res = bind(serv4, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4));
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/
Dmain.c327 struct sockaddr_in bind_addr4; in ZTEST() local
332 prepare_sock_udp_v4(MY_IPV4_ADDR, 55555, &sock1, &bind_addr4); in ZTEST()
335 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in ZTEST()
707 struct sockaddr_in bind_addr4; in ZTEST() local
713 prepare_sock_udp_v4(MY_IPV4_ADDR, 55555, &sock1, &bind_addr4); in ZTEST()
734 struct sockaddr_in bind_addr4; in ZTEST() local
740 prepare_sock_udp_v4(MY_IPV4_ADDR, 55555, &sock1, &bind_addr4); in ZTEST()
743 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in ZTEST()
781 struct sockaddr_in bind_addr4; in ZTEST() local
794 prepare_sock_udp_v4(MY_IPV4_ADDR, 55555, &sock1, &bind_addr4); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/
Dmain.c1263 struct sockaddr_in bind_addr4; in ZTEST() local
1273 prepare_sock_tcp_v4(MY_IPV4_ADDR, ANY_PORT, &sock1, &bind_addr4); in ZTEST()
1296 struct sockaddr_in bind_addr4; in ZTEST() local
1302 prepare_sock_tcp_v4(MY_IPV4_ADDR, ANY_PORT, &sock1, &bind_addr4); in ZTEST()
1323 struct sockaddr_in bind_addr4; in ZTEST() local
1330 prepare_sock_tcp_v4(MY_IPV4_ADDR, ANY_PORT, &sock1, &bind_addr4); in ZTEST()
1412 struct sockaddr_in bind_addr4; in ZTEST() local
1419 prepare_sock_tcp_v4(MY_IPV4_ADDR, ANY_PORT, &sock1, &bind_addr4); in ZTEST()
2339 struct sockaddr_in bind_addr4; in ZTEST() local
2344 prepare_sock_tcp_v4(MY_IPV4_ADDR, ANY_PORT, &sock, &bind_addr4); in ZTEST()
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/
Dmain.c205 struct sockaddr_in bind_addr4; in ZTEST() local
211 prepare_sock_tls_v4(MY_IPV4_ADDR, ANY_PORT, &sock1, &bind_addr4, IPPROTO_TLS_1_2); in ZTEST()
230 struct sockaddr_in bind_addr4; in ZTEST() local
236 prepare_sock_tls_v4(MY_IPV4_ADDR, ANY_PORT, &sock1, &bind_addr4, IPPROTO_TLS_1_2); in ZTEST()