/external/openssh/openbsd-compat/ |
rresvport.c | 64 socklen_t salen; local 71 salen = sizeof(struct sockaddr_in); 75 salen = sizeof(struct sockaddr_in6); 90 if (bind(s, sa, salen) >= 0)
|
bindresvport.c | 61 socklen_t salen; local 68 if (getsockname(sd, sa, &salen) == -1) 72 memset(&myaddr, 0, salen); 78 salen = sizeof(struct sockaddr_in); 82 salen = sizeof(struct sockaddr_in6); 100 error = bind(sd, sa, salen);
|
/external/ppp/pppd/plugins/radius/ |
sendserver.c | 203 int salen; local 328 salen = sizeof (saremote); 331 (int) 0, &saremote, &salen);
|
/external/iputils/ |
tracepath6.c | 212 socklen_t salen; local 221 salen = sizeof(struct sockaddr_in6); 224 salen = sizeof(struct sockaddr_in); 227 salen = 0; 231 if (getnameinfo(sa, salen, 240 if (getnameinfo(sa, salen,
|
/external/qemu/ |
sockets.c | 979 socklen_t salen; local 981 if (sock_address_to_bsd(to, &sa, &salen) < 0) 984 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); 997 socklen_t salen = sizeof(sa); local 1000 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen)); 1004 if (sock_address_from_bsd(from, &sa, salen) < 0) [all...] |
vnc.c | 51 socklen_t salen) { 58 if ((err = getnameinfo((struct sockaddr *)sa, salen, 80 socklen_t salen; local 82 salen = sizeof(sa); 83 if (getsockname(fd, (struct sockaddr*)&sa, &salen) < 0) 86 return addr_to_string(format, &sa, salen); 91 socklen_t salen; local 93 salen = sizeof(sa); 94 if (getpeername(fd, (struct sockaddr*)&sa, &salen) < 0) 97 return addr_to_string(format, &sa, salen); [all...] |
/external/tcpdump/ |
print-isakmp.c | 257 int salen; local 290 salen = sa->sa_len; 294 salen = sizeof(struct sockaddr_in6); 296 salen = sizeof(struct sockaddr); 298 salen = sizeof(struct sockaddr); 301 if (memcmp(&ss, &cookiecache[i].iaddr, salen) == 0) 307 salen = sa->sa_len; 311 salen = sizeof(struct sockaddr_in6); 313 salen = sizeof(struct sockaddr); 315 salen = sizeof(struct sockaddr) [all...] |
/sdk/emulator/opengl/tests/event_injector/ |
sockets.c | 983 socklen_t salen; local 985 if (sock_address_to_bsd(to, &sa, &salen) < 0) 988 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); 1001 socklen_t salen = sizeof(sa); local 1004 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen)); 1008 if (sock_address_from_bsd(from, &sa, salen) < 0) [all...] |