Lines Matching refs:addr1

53 	struct sockaddr_un addr1;  in connect_test()  local
54 addr1.sun_family = AF_UNIX; in connect_test()
55 strcpy(addr1.sun_path, "test1.sock"); in connect_test()
56 status = bind(sock1, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test()
79 status = connect(sock, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test()
93 status = connect(sock, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test()
115 status = connect(sock2, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test()
194 struct sockaddr_un addr1; in send_test() local
195 addr1.sun_family = AF_UNIX; in send_test()
196 strcpy(addr1.sun_path, "test1.sock"); in send_test()
197 status = bind(sock1, (struct sockaddr*)&addr1, sizeof(addr1)); in send_test()
215 status = sendto(sock, "test1", 5, 0, (struct sockaddr*)&addr1, sizeof(addr1)); in send_test()
221 status = connect(sock, (struct sockaddr*)&addr1, sizeof(addr1)); in send_test()
253 status = sendto(sock2, "test3", 5, 0, (struct sockaddr*)&addr1, sizeof(addr1)); in send_test()
434 struct sockaddr_un addr1; in shutdown_test() local
435 addr1.sun_family = AF_UNIX; in shutdown_test()
436 strcpy(addr1.sun_path, "test1.sock"); in shutdown_test()
437 status = bind(sock1, (struct sockaddr*)&addr1, sizeof(addr1)); in shutdown_test()
449 status = sendto(sock, "test", 4, 0, (struct sockaddr*)&addr1, sizeof(addr1)); in shutdown_test()
532 struct sockaddr_un addr1; in send_fd_test() local
533 addr1.sun_family = AF_UNIX; in send_fd_test()
534 strcpy(addr1.sun_path, "test1.sock"); in send_fd_test()
535 status = bind(sock1, (struct sockaddr*)&addr1, sizeof(addr1)); in send_fd_test()
541 status = connect(sock, (struct sockaddr*)&addr1, sizeof(addr1)); in send_fd_test()