Lines Matching refs:sockaddr

60 				 struct sockaddr *client_addr,  in comm_sendto_recvfrom()
63 struct sockaddr *server_addr, in comm_sendto_recvfrom()
69 struct sockaddr addr; in comm_sendto_recvfrom()
71 struct sockaddr addr2; in comm_sendto_recvfrom()
181 (struct sockaddr *)&server_addr, in ZTEST()
186 (struct sockaddr *)&client_addr, in ZTEST()
189 (struct sockaddr *)&server_addr, in ZTEST()
210 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST()
214 (struct sockaddr *)&client_addr, in ZTEST()
217 (struct sockaddr *)&server_addr, in ZTEST()
238 (struct sockaddr *)&client_addr, sizeof(client_addr)); in ZTEST()
242 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST()
246 (struct sockaddr *)&client_addr, in ZTEST()
249 (struct sockaddr *)&server_addr, in ZTEST()
270 (struct sockaddr *)&client_addr, sizeof(client_addr)); in ZTEST()
274 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST()
278 (struct sockaddr *)&client_addr, in ZTEST()
281 (struct sockaddr *)&server_addr, in ZTEST()
300 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr, sizeof(bind_addr)); in ZTEST()
303 rv = zsock_connect(sock2, (struct sockaddr *)&conn_addr, sizeof(conn_addr)); in ZTEST()
335 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in ZTEST()
338 rv = zsock_bind(sock2, (struct sockaddr *)&bind_addr6, sizeof(bind_addr6)); in ZTEST()
358 struct sockaddr *client_addr, in comm_sendmsg_recvfrom()
362 struct sockaddr *server_addr, in comm_sendmsg_recvfrom()
367 struct sockaddr addr; in comm_sendmsg_recvfrom()
440 (struct sockaddr *)&server_addr, in ZTEST_USER()
445 (struct sockaddr *)&client_addr, in ZTEST_USER()
467 (struct sockaddr *)&client_addr, in ZTEST_USER()
471 (struct sockaddr *)&server_addr, in ZTEST_USER()
494 (struct sockaddr *)&server_addr, in ZTEST_USER()
499 (struct sockaddr *)&client_addr, in ZTEST_USER()
513 (struct sockaddr *)&client_addr, in ZTEST_USER()
517 (struct sockaddr *)&server_addr, in ZTEST_USER()
545 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST_USER()
549 (struct sockaddr *)&client_addr, in ZTEST_USER()
571 (struct sockaddr *)&client_addr, in ZTEST_USER()
575 (struct sockaddr *)&server_addr, in ZTEST_USER()
603 (struct sockaddr *)&server_addr, in ZTEST_USER()
608 (struct sockaddr *)&client_addr, in ZTEST_USER()
612 rv = zsock_connect(client_sock, (struct sockaddr *)&server_addr, in ZTEST_USER()
632 (struct sockaddr *)&client_addr, in ZTEST_USER()
636 (struct sockaddr *)&server_addr, in ZTEST_USER()
664 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST_USER()
668 (struct sockaddr *)&client_addr, in ZTEST_USER()
672 rv = zsock_connect(client_sock, (struct sockaddr *)&server_addr, in ZTEST_USER()
692 (struct sockaddr *)&client_addr, in ZTEST_USER()
696 (struct sockaddr *)&server_addr, in ZTEST_USER()
743 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in ZTEST()
746 rv = zsock_bind(sock2, (struct sockaddr *)&bind_addr6, sizeof(bind_addr6)); in ZTEST()
785 struct sockaddr addr; in ZTEST()
797 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in ZTEST()
800 rv = zsock_bind(sock2, (struct sockaddr *)&bind_addr6, sizeof(bind_addr6)); in ZTEST()
854 rv = zsock_bind(sock1, (struct sockaddr *)&bind_addr4, sizeof(bind_addr4)); in ZTEST()
857 rv = zsock_bind(sock2, (struct sockaddr *)&bind_addr6, sizeof(bind_addr6)); in ZTEST()
903 struct sockaddr *client_addr, in comm_sendmsg_with_txtime()
1073 (struct sockaddr *)&client_addr, in ZTEST_USER()
1103 (struct sockaddr *)&client_addr, in ZTEST_USER()
1119 void test_msg_trunc(int sock_c, int sock_s, struct sockaddr *addr_c, in test_msg_trunc()
1120 socklen_t addrlen_c, struct sockaddr *addr_s, in test_msg_trunc()
1184 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1185 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST()
1199 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1200 (struct sockaddr *)&server_addr, sizeof(server_addr)); in ZTEST()
1204 struct sockaddr *addr_c, socklen_t addrlen_c, in test_dgram_overflow()
1205 struct sockaddr *addr_s, socklen_t addrlen_s, in test_dgram_overflow()
1230 struct sockaddr *addr_c, socklen_t addrlen_c, in test_dgram_fragmented()
1231 struct sockaddr *addr_s, socklen_t addrlen_s, in test_dgram_fragmented()
1270 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1271 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
1287 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1288 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
1292 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1293 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
1309 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1310 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
1315 struct sockaddr *addr_c, socklen_t addrlen_c, in test_dgram_connected()
1316 struct sockaddr *addr_s1, socklen_t addrlen_s1, in test_dgram_connected()
1317 struct sockaddr *addr_s2, socklen_t addrlen_s2) in test_dgram_connected()
1380 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1381 (struct sockaddr *)&server_addr_1, sizeof(server_addr_1), in ZTEST()
1382 (struct sockaddr *)&server_addr_2, sizeof(server_addr_2)); in ZTEST()
1399 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
1400 (struct sockaddr *)&server_addr_1, sizeof(server_addr_1), in ZTEST()
1401 (struct sockaddr *)&server_addr_2, sizeof(server_addr_2)); in ZTEST()
1453 struct sockaddr *client_addr, in comm_sendmsg_recvmsg()
1457 struct sockaddr *server_addr, in comm_sendmsg_recvmsg()
1470 struct sockaddr addr; in comm_sendmsg_recvmsg()
1676 (struct sockaddr *)&server_addr, in ZTEST_USER()
1681 (struct sockaddr *)&client_addr, in ZTEST_USER()
1695 (struct sockaddr *)&client_addr, in ZTEST_USER()
1699 (struct sockaddr *)&server_addr, in ZTEST_USER()
1710 struct sockaddr *client_addr, in run_ancillary_recvmsg_test()
1713 struct sockaddr *server_addr, in run_ancillary_recvmsg_test()
1720 struct sockaddr addr = { 0 }; in run_ancillary_recvmsg_test()
1885 (struct sockaddr *)&client_addr, in ZTEST_USER()
1888 (struct sockaddr *)&server_addr, in ZTEST_USER()
1903 (struct sockaddr *)&client_addr, in ZTEST_USER()
1906 (struct sockaddr *)&server_addr, in ZTEST_USER()
1939 return zsock_bind(sock, (struct sockaddr *)&addr, sizeof(addr)); in bind_socket()
1943 struct sockaddr *addr_c, socklen_t addrlen_c, in test_check_ttl()
1944 struct sockaddr *addr_s, socklen_t addrlen_s, in test_check_ttl()
1945 struct sockaddr *addr_sendto, socklen_t addrlen_sendto, in test_check_ttl()
2004 (struct sockaddr *)&src, &addrlen); in test_check_ttl()
2192 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2193 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
2194 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
2241 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2242 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
2243 (struct sockaddr *)&sendto_addr, sizeof(sendto_addr), in ZTEST()
2309 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2310 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
2311 (struct sockaddr *)&sendto_addr, sizeof(sendto_addr), in ZTEST()
2359 (struct sockaddr *)&client_addr, sizeof(client_addr), in ZTEST()
2360 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
2361 (struct sockaddr *)&server_addr, sizeof(server_addr), in ZTEST()
2383 (struct sockaddr *)&server_addr, in ZTEST_USER()
2388 (struct sockaddr *)&client_addr, in ZTEST_USER()
2404 (struct sockaddr *)&client_addr, in ZTEST_USER()
2408 (struct sockaddr *)&server_addr, in ZTEST_USER()
2441 (struct sockaddr *)&client_addr, in ZTEST()
2648 (struct sockaddr *)&saddr6, sizeof(saddr6)); in ZTEST()
2658 0, (struct sockaddr *)&saddr6, &addrlen); in ZTEST()
2815 (struct sockaddr *)&dst_addr, sizeof(dst_addr)); in ZTEST()
2823 0, (struct sockaddr *)&saddr4, &addrlen); in ZTEST()
2876 (struct sockaddr *)&dst_addr, sizeof(dst_addr)); in ZTEST()
2884 0, (struct sockaddr *)&saddr4, &addrlen); in ZTEST()
2903 (struct sockaddr *)&dst_addr, sizeof(dst_addr)); in ZTEST()
2911 0, (struct sockaddr *)&saddr4, &addrlen); in ZTEST()
2933 static void check_port_range(struct sockaddr *my_addr, in check_port_range()
2935 struct sockaddr *local_addr, in check_port_range()
3084 check_port_range((struct sockaddr *)&my_addr4, sizeof(my_addr4), in ZTEST()
3085 (struct sockaddr *)&local_addr4, sizeof(local_addr4)); in ZTEST()
3088 check_port_range((struct sockaddr *)&my_addr6, sizeof(my_addr6), in ZTEST()
3089 (struct sockaddr *)&local_addr6, sizeof(local_addr6)); in ZTEST()