Lines Matching defs:adds
72 struct sockaddr_in adds;
94 (void) memset(&adds, 0, sizeof (struct sockaddr_in));
95 adds.sin_family = AF_INET;
96 adds.sin_port = htons(j++);
97 (void) memcpy(&adds.sin_addr.s_addr, host->h_addr_list[0],
100 if (bind(sock2, (struct sockaddr *)&adds,
127 result = connect(sock3, (struct sockaddr *)&adds,
135 sock = accept(sock2, (struct sockaddr *)&adds, &size);
149 struct sockaddr_in adds;
154 if (getpeername(sock, (struct sockaddr *)&adds, &size) == -1) {