Home
last modified time | relevance | path

Searched refs:salen (Results 1 – 25 of 32) 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/syzkaller/vendor/golang.org/x/sys/unix/
Dsockcmsg_unix.go14 func cmsgAlignOf(salen int) int {
22 return (salen + salign - 1) & ^(salign - 1)
Dsyscall_solaris.go461 var salen _Socklen
463 ptr, salen, err = to.sockaddr()
470 msg.Namelen = uint32(salen)
Dsyscall_bsd.go373 var salen _Socklen
375 ptr, salen, err = to.sockaddr()
382 msg.Namelen = uint32(salen)
Dsyscall_linux.go975 var salen _Socklen
978 ptr, salen, err = to.sockaddr()
985 msg.Namelen = uint32(salen)
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c72 socklen_t *salen; /* getsockname's 3rd argument */ member
119 tdat[testno].salen)); in main()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c72 int salen; /* bind's 3rd argument */ member
122 (s, tdat[testno].sockaddr, tdat[testno].salen)); in main()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c61 socklen_t *salen; /* accept's 3rd argument */ member
107 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/ltp/include/
Dsafe_net_fn.h28 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/curl/lib/
Dhostip.h138 GETNAMEINFO_TYPE_ARG2 salen,
Dsetup-os400.h52 curl_socklen_t salen,
/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

12