Lines Matching refs:client_addr

60 				 struct sockaddr *client_addr,  in comm_sendto_recvfrom()  argument
74 zassert_not_null(client_addr, "null client addr"); in comm_sendto_recvfrom()
114 if (net_sin(client_addr)->sin_port != ANY_PORT) { in comm_sendto_recvfrom()
115 zassert_equal(net_sin(client_addr)->sin_port, in comm_sendto_recvfrom()
174 struct sockaddr_in client_addr; in ZTEST() local
177 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
186 (struct sockaddr *)&client_addr, in ZTEST()
187 sizeof(client_addr), in ZTEST()
203 struct sockaddr_in6 client_addr; in ZTEST() local
206 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
214 (struct sockaddr *)&client_addr, in ZTEST()
215 sizeof(client_addr), in ZTEST()
231 struct sockaddr_in client_addr; in ZTEST() local
234 prepare_sock_udp_v4(MY_IPV4_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
238 (struct sockaddr *)&client_addr, sizeof(client_addr)); in ZTEST()
246 (struct sockaddr *)&client_addr, in ZTEST()
247 sizeof(client_addr), in ZTEST()
263 struct sockaddr_in6 client_addr; in ZTEST() local
266 prepare_sock_udp_v6(MY_IPV6_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
270 (struct sockaddr *)&client_addr, sizeof(client_addr)); in ZTEST()
278 (struct sockaddr *)&client_addr, in ZTEST()
279 sizeof(client_addr), in ZTEST()
358 struct sockaddr *client_addr, in comm_sendmsg_recvfrom() argument
371 zassert_not_null(client_addr, "null client addr"); in comm_sendmsg_recvfrom()
414 if (net_sin(client_addr)->sin_port != ANY_PORT) { in comm_sendmsg_recvfrom()
415 zassert_equal(net_sin(client_addr)->sin_port, in comm_sendmsg_recvfrom()
426 struct sockaddr_in client_addr; in ZTEST_USER() local
436 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
445 (struct sockaddr *)&client_addr, in ZTEST_USER()
446 sizeof(client_addr)); in ZTEST_USER()
467 (struct sockaddr *)&client_addr, in ZTEST_USER()
468 sizeof(client_addr), in ZTEST_USER()
485 struct sockaddr_in client_addr; in ZTEST_USER() local
490 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
499 (struct sockaddr *)&client_addr, in ZTEST_USER()
500 sizeof(client_addr)); in ZTEST_USER()
513 (struct sockaddr *)&client_addr, in ZTEST_USER()
514 sizeof(client_addr), in ZTEST_USER()
531 struct sockaddr_in6 client_addr; in ZTEST_USER() local
541 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
549 (struct sockaddr *)&client_addr, in ZTEST_USER()
550 sizeof(client_addr)); in ZTEST_USER()
571 (struct sockaddr *)&client_addr, in ZTEST_USER()
572 sizeof(client_addr), in ZTEST_USER()
589 struct sockaddr_in client_addr; in ZTEST_USER() local
599 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
608 (struct sockaddr *)&client_addr, in ZTEST_USER()
609 sizeof(client_addr)); in ZTEST_USER()
632 (struct sockaddr *)&client_addr, in ZTEST_USER()
633 sizeof(client_addr), in ZTEST_USER()
650 struct sockaddr_in6 client_addr; in ZTEST_USER() local
660 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
668 (struct sockaddr *)&client_addr, in ZTEST_USER()
669 sizeof(client_addr)); in ZTEST_USER()
692 (struct sockaddr *)&client_addr, in ZTEST_USER()
693 sizeof(client_addr), in ZTEST_USER()
903 struct sockaddr *client_addr, in comm_sendmsg_with_txtime() argument
910 zassert_not_null(client_addr, "null client addr"); in comm_sendmsg_with_txtime()
1061 struct sockaddr_in6 client_addr; in ZTEST_USER() local
1070 prepare_sock_udp_v6(MY_IPV6_ADDR_ETH, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
1073 (struct sockaddr *)&client_addr, in ZTEST_USER()
1074 sizeof(client_addr)); in ZTEST_USER()
1103 (struct sockaddr *)&client_addr, in ZTEST_USER()
1104 sizeof(client_addr), in ZTEST_USER()
1177 struct sockaddr_in client_addr; in ZTEST() local
1180 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
1184 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1192 struct sockaddr_in6 client_addr; in ZTEST() local
1195 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
1199 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1263 struct sockaddr_in client_addr; in ZTEST() local
1266 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
1270 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1279 struct sockaddr_in6 client_addr; in ZTEST() local
1282 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
1287 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1292 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1302 struct sockaddr_in6 client_addr; in ZTEST() local
1305 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST()
1309 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1371 struct sockaddr_in client_addr; in ZTEST() local
1375 prepare_sock_udp_v4(MY_IPV4_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
1380 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1390 struct sockaddr_in6 client_addr; in ZTEST() local
1394 prepare_sock_udp_v6(MY_IPV6_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
1399 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1453 struct sockaddr *client_addr, in comm_sendmsg_recvmsg() argument
1474 zassert_not_null(client_addr, "null client addr"); in comm_sendmsg_recvmsg()
1540 if (net_sin(client_addr)->sin_port != ANY_PORT) { in comm_sendmsg_recvmsg()
1541 zassert_equal(net_sin(client_addr)->sin_port, in comm_sendmsg_recvmsg()
1548 if (net_sin6(client_addr)->sin6_port != ANY_PORT) { in comm_sendmsg_recvmsg()
1549 zassert_equal(net_sin6(client_addr)->sin6_port, in comm_sendmsg_recvmsg()
1667 struct sockaddr_in client_addr; in ZTEST_USER() local
1672 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
1681 (struct sockaddr *)&client_addr, in ZTEST_USER()
1682 sizeof(client_addr)); in ZTEST_USER()
1695 (struct sockaddr *)&client_addr, in ZTEST_USER()
1696 sizeof(client_addr), in ZTEST_USER()
1710 struct sockaddr *client_addr, in run_ancillary_recvmsg_test() argument
1738 rv = zsock_bind(client_sock, client_addr, client_addr_len); in run_ancillary_recvmsg_test()
1753 client_addr, in run_ancillary_recvmsg_test()
1801 client_addr, in run_ancillary_recvmsg_test()
1876 struct sockaddr_in client_addr; in ZTEST_USER() local
1881 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
1885 (struct sockaddr *)&client_addr, in ZTEST_USER()
1886 sizeof(client_addr), in ZTEST_USER()
1894 struct sockaddr_in6 client_addr; in ZTEST_USER() local
1899 prepare_sock_udp_v6(MY_IPV6_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
1903 (struct sockaddr *)&client_addr, in ZTEST_USER()
1904 sizeof(client_addr), in ZTEST_USER()
2158 struct sockaddr_in client_addr; in ZTEST() local
2163 prepare_sock_udp_v4(MY_IPV4_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
2192 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2206 struct sockaddr_in client_addr; in ZTEST() local
2212 prepare_sock_udp_v4(MY_IPV4_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
2241 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2256 struct sockaddr_in6 client_addr; in ZTEST() local
2262 prepare_sock_udp_v6(MY_IPV6_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
2309 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2323 struct sockaddr_in6 client_addr; in ZTEST() local
2328 prepare_sock_udp_v6(MY_IPV6_ADDR, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
2359 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2370 struct sockaddr_in client_addr; in ZTEST_USER() local
2379 prepare_sock_udp_v4(MY_IPV4_ADDR, ANY_PORT, &client_sock, &client_addr); in ZTEST_USER()
2388 (struct sockaddr *)&client_addr, in ZTEST_USER()
2389 sizeof(client_addr)); in ZTEST_USER()
2404 (struct sockaddr *)&client_addr, in ZTEST_USER()
2405 sizeof(client_addr), in ZTEST_USER()
2426 struct sockaddr_in6 client_addr; in ZTEST() local
2438 prepare_sock_udp_v6(MY_IPV6_ADDR_ETH, CLIENT_PORT, &client_sock, &client_addr); in ZTEST()
2441 (struct sockaddr *)&client_addr, in ZTEST()
2442 sizeof(client_addr)); in ZTEST()