Searched refs:salen (Results 1 – 8 of 8) sorted by relevance
/external/tcpdump/missing/ |
D | getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 102 size_t salen; 124 if (sa->sa_len != salen) 137 if (salen != afd->a_socklen)
|
/external/tcpdump/ |
D | print-isakmp.c | 257 int salen; in cookie_sidecheck() local 290 salen = sa->sa_len; in cookie_sidecheck() 294 salen = sizeof(struct sockaddr_in6); in cookie_sidecheck() 296 salen = sizeof(struct sockaddr); in cookie_sidecheck() 298 salen = sizeof(struct sockaddr); in cookie_sidecheck() 301 if (memcmp(&ss, &cookiecache[i].iaddr, salen) == 0) in cookie_sidecheck() 307 salen = sa->sa_len; in cookie_sidecheck() 311 salen = sizeof(struct sockaddr_in6); in cookie_sidecheck() 313 salen = sizeof(struct sockaddr); in cookie_sidecheck() 315 salen = sizeof(struct sockaddr); in cookie_sidecheck() [all …]
|
/external/qemu/ |
D | sockets.h | 211 int sock_address_to_bsd( const SockAddress* a, void* sa, size_t* salen ); 212 int sock_address_from_bsd( SockAddress* a, const void* sa, size_t salen );
|
D | sockets.c | 952 socklen_t salen; in socket_sendto() local 954 if (sock_address_to_bsd(to, &sa, &salen) < 0) in socket_sendto() 957 SOCKET_CALL(sendto(fd, buf, buflen, 0, &sa, salen)); in socket_sendto() 970 socklen_t salen = sizeof(sa); in socket_recvfrom() local 973 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,&sa,&salen)); in socket_recvfrom() 977 if (sock_address_from_bsd(from, &sa, salen) < 0) in socket_recvfrom()
|
D | vnc.c | 51 socklen_t salen) { in addr_to_string() argument 58 if ((err = getnameinfo((struct sockaddr *)sa, salen, in addr_to_string() 80 socklen_t salen; in vnc_socket_local_addr() local 82 salen = sizeof(sa); in vnc_socket_local_addr() 83 if (getsockname(fd, (struct sockaddr*)&sa, &salen) < 0) in vnc_socket_local_addr() 86 return addr_to_string(format, &sa, salen); in vnc_socket_local_addr() 91 socklen_t salen; in vnc_socket_remote_addr() local 93 salen = sizeof(sa); in vnc_socket_remote_addr() 94 if (getpeername(fd, (struct sockaddr*)&sa, &salen) < 0) in vnc_socket_remote_addr() 97 return addr_to_string(format, &sa, salen); in vnc_socket_remote_addr()
|
D | vnc-android.c | 66 if ((err = getnameinfo((struct sockaddr *)sa, salen, in addr_to_string()
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 203 int salen; in rc_send_server() local 328 salen = sizeof (saremote); in rc_send_server() 331 (int) 0, &saremote, &salen); in rc_send_server()
|
/external/dropbear/ |
D | fake-rfc2553.c | 46 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in getnameinfo() argument
|