Searched refs:s_saddr (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/ |
D | main.c | 237 struct sockaddr_in s_saddr; in ZTEST_USER() local 242 prepare_sock_tcp_v4(MY_IPV4_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER() 244 test_bind(s_sock, (struct sockaddr *)&s_saddr, sizeof(s_saddr)); in ZTEST_USER() 247 test_connect(c_sock, (struct sockaddr *)&s_saddr, sizeof(s_saddr)); in ZTEST_USER() 272 struct sockaddr_in6 s_saddr; in ZTEST_USER() local 277 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_saddr); in ZTEST_USER() 279 test_bind(s_sock, (struct sockaddr *)&s_saddr, sizeof(s_saddr)); in ZTEST_USER() 282 test_connect(c_sock, (struct sockaddr *)&s_saddr, sizeof(s_saddr)); in ZTEST_USER() 363 struct sockaddr *s_saddr = NULL; in test_send_recv_large_common() local 375 s_saddr = (struct sockaddr *) &s_saddr_in; in test_send_recv_large_common() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/ |
D | main.c | 308 struct sockaddr s_saddr; in test_prepare_tls_connection() local 321 (struct sockaddr_in6 *)&s_saddr, in test_prepare_tls_connection() 328 (struct sockaddr_in *)&s_saddr, in test_prepare_tls_connection() 334 test_bind(s_sock, &s_saddr, exp_addrlen); in test_prepare_tls_connection() 341 test_data.addr = &s_saddr; in test_prepare_tls_connection() 354 struct sockaddr s_saddr; in test_prepare_dtls_connection() local 370 (struct sockaddr_in6 *)&s_saddr, in test_prepare_dtls_connection() 377 (struct sockaddr_in *)&s_saddr, in test_prepare_dtls_connection() 387 test_bind(s_sock, &s_saddr, exp_addrlen); in test_prepare_dtls_connection() 390 test_data.addr = &s_saddr; in test_prepare_dtls_connection() [all …]
|