Home
last modified time | relevance | path

Searched refs:salen (Results 1 – 25 of 41) sorted by relevance

12

/external/openssh/openbsd-compat/
Dbindresvport.c61 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()
Drresvport.c64 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()
Dport-aix.c408 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()
Dfake-rfc2553.c47 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in getnameinfo() argument
/external/python/cpython3/Modules/
Dgetnameinfo.c89 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/
Dgetnameinfo.c89 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/
Daddr.c701 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/
Dtracepath6.c212 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/
Dbind01.c29 socklen_t salen; member
50 TEST(bind(*tcase->socket_fd, tcase->sockaddr, tcase->salen)); in verify_bind()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c37 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/
Dgetsockname01.c72 socklen_t *salen; /* getsockname's 3rd argument */ member
119 tdat[testno].salen)); in main()
/external/ppp/pppd/plugins/radius/
Dsendserver.c203 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/
Dconnect01.c75 int salen; /* connect's 3rd argument */ member
155 (s, tdat[testno].sockaddr, tdat[testno].salen)); in main()
/external/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c85 socklen_t *salen; /* from address value/result buffer length */ member
160 tdat[testno].salen)); in main()
/external/curl/lib/
Dconnect.h54 bool Curl_addr2string(struct sockaddr *sa, curl_socklen_t salen,
Dhostip.h138 GETNAMEINFO_TYPE_ARG2 salen,
Dsetup-os400.h52 curl_socklen_t salen,
Dconnect.c632 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/
Dsafe_net_fn.h78 char *tst_sock_addr(const struct sockaddr *sa, socklen_t salen, char *res,
/external/ltp/lib/
Dsafe_net.c23 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/
Dsetsockopt01.c78 int salen; member
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c78 int salen; member
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c74 int salen; member
/external/libevent/
Dhttp.c128 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/
Dos400sys.c265 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()

12