/external/openssh/openbsd-compat/ |
D | bindresvport.c | 61 socklen_t salen; in bindresvport_sa() local 67 salen = sizeof(myaddr); in bindresvport_sa() 69 if (getsockname(sd, sa, &salen) == -1) in bindresvport_sa() 73 memset(&myaddr, 0, salen); in bindresvport_sa() 79 salen = sizeof(struct sockaddr_in); in bindresvport_sa() 83 salen = sizeof(struct sockaddr_in6); in bindresvport_sa() 101 error = bind(sd, sa, salen); in bindresvport_sa()
|
D | rresvport.c | 64 socklen_t salen; in rresvport_af() local 71 salen = sizeof(struct sockaddr_in); in rresvport_af() 75 salen = sizeof(struct sockaddr_in6); in rresvport_af() 90 if (bind(s, sa, salen) >= 0) in rresvport_af()
|
D | port-aix.c | 408 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in sshaix_getnameinfo() argument 425 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); in sshaix_getnameinfo()
|
D | fake-rfc2553.c | 47 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in getnameinfo() argument
|
/external/python/cpython3/Modules/ |
D | getnameinfo.c | 89 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 91 size_t salen; 117 if (len != salen) return ENI_SALEN; 119 len = salen;
|
/external/python/cpython2/Modules/ |
D | getnameinfo.c | 89 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 91 size_t salen; 117 if (len != salen) return ENI_SALEN; 119 len = salen;
|
/external/libnl/lib/ |
D | addr.c | 701 socklen_t *salen) in nl_addr_fill_sockaddr() argument 707 if (*salen < sizeof(*sai)) in nl_addr_fill_sockaddr() 712 *salen = sizeof(*sai); in nl_addr_fill_sockaddr() 719 if (*salen < sizeof(*sa6)) in nl_addr_fill_sockaddr() 724 *salen = sizeof(*sa6); in nl_addr_fill_sockaddr() 804 socklen_t salen = sizeof(buf); in nl_addr_resolve() local 806 err = nl_addr_fill_sockaddr(addr, (struct sockaddr *) &buf, &salen); in nl_addr_resolve() 810 err = getnameinfo((struct sockaddr *) &buf, salen, host, hostlen, in nl_addr_resolve()
|
/external/iputils/ |
D | tracepath6.c | 212 socklen_t salen; in recverr() local 221 salen = sizeof(struct sockaddr_in6); in recverr() 224 salen = sizeof(struct sockaddr_in); in recverr() 227 salen = 0; in recverr() 231 if (getnameinfo(sa, salen, in recverr() 240 if (getnameinfo(sa, salen, in recverr()
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 29 socklen_t salen; member 50 TEST(bind(*tcase->socket_fd, tcase->sockaddr, tcase->salen)); in verify_bind()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 37 socklen_t salen; /* accept's 3rd argument */ member 98 TEST(accept(*tcase->fd, tcase->sockaddr, &tcase->salen)); in verify_accept()
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 72 socklen_t *salen; /* getsockname's 3rd argument */ member 119 tdat[testno].salen)); in main()
|
/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/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 75 int salen; /* connect's 3rd argument */ member 155 (s, tdat[testno].sockaddr, tdat[testno].salen)); in main()
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
D | recvfrom01.c | 85 socklen_t *salen; /* from address value/result buffer length */ member 160 tdat[testno].salen)); in main()
|
/external/curl/lib/ |
D | connect.h | 54 bool Curl_addr2string(struct sockaddr *sa, curl_socklen_t salen,
|
D | hostip.h | 138 GETNAMEINFO_TYPE_ARG2 salen,
|
D | setup-os400.h | 52 curl_socklen_t salen,
|
D | connect.c | 632 bool Curl_addr2string(struct sockaddr *sa, curl_socklen_t salen, in Curl_addr2string() argument 642 (void)salen; in Curl_addr2string() 668 if(salen > (curl_socklen_t)sizeof(sa_family_t)) { in Curl_addr2string()
|
/external/ltp/include/ |
D | safe_net_fn.h | 78 char *tst_sock_addr(const struct sockaddr *sa, socklen_t salen, char *res,
|
/external/ltp/lib/ |
D | safe_net.c | 23 char *tst_sock_addr(const struct sockaddr *sa, socklen_t salen, char *res, in tst_sock_addr() argument 76 sa->sa_family, salen); in tst_sock_addr()
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 78 int salen; member
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 78 int salen; member
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 74 int salen; member
|
/external/libevent/ |
D | http.c | 128 fake_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in fake_getnameinfo() argument 4214 evutil_socket_t fd, struct sockaddr *sa, ev_socklen_t salen) in evhttp_get_request_connection() argument 4227 name_from_addr(sa, salen, &hostname, &portname); in evhttp_get_request_connection() 4264 bufferevent_socket_set_conn_address_(evcon->bufev, sa, salen); in evhttp_get_request_connection() 4310 struct sockaddr *sa, ev_socklen_t salen) in evhttp_get_request() argument 4314 evcon = evhttp_get_request_connection(http, fd, sa, salen); in evhttp_get_request() 4344 name_from_addr(struct sockaddr *sa, ev_socklen_t salen, in name_from_addr() argument 4352 ni_result = getnameinfo(sa, salen, in name_from_addr() 4367 ni_result = fake_getnameinfo(sa, salen, in name_from_addr()
|
/external/curl/packages/OS400/ |
D | os400sys.c | 265 Curl_getnameinfo_a(const struct sockaddr * sa, curl_socklen_t salen, in Curl_getnameinfo_a() argument 289 status = getnameinfo(sa, salen, enodename, nodenamelen, in Curl_getnameinfo_a()
|