Searched defs:adds (Results 1 - 3 of 3) sorted by relevance
/libmicro/ |
H A D | getpeername.c | 72 struct sockaddr_in adds; local 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; local 154 if (getpeername(sock, (struct sockaddr *)&adds, [all...] |
H A D | getsockname.c | 52 static struct sockaddr_in adds; variable in typeref:struct:sockaddr_in 89 (void) memset(&adds, 0, sizeof (struct sockaddr_in)); 90 adds.sin_family = AF_INET; 91 adds.sin_port = htons(j++); 92 (void) memcpy(&adds.sin_addr.s_addr, host->h_addr_list[0], 95 if (bind(sock, (struct sockaddr *)&adds, 114 struct sockaddr_in adds; local 119 if (getsockname(sock, (struct sockaddr *)&adds, &size) == -1)
|
H A D | listen.c | 53 static struct sockaddr_in adds; variable in typeref:struct:sockaddr_in 92 (void) memset(&adds, 0, sizeof (struct sockaddr_in)); 93 adds.sin_family = AF_INET; 94 adds.sin_port = htons(j++); 95 (void) memcpy(&adds.sin_addr.s_addr, host->h_addr_list[0], 98 if (bind(sock, (struct sockaddr *)&adds,
|
Completed in 341 milliseconds