/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/syzkaller/vendor/golang.org/x/sys/unix/ |
D | sockcmsg_unix.go | 14 func cmsgAlignOf(salen int) int { 22 return (salen + salign - 1) & ^(salign - 1)
|
D | syscall_solaris.go | 461 var salen _Socklen 463 ptr, salen, err = to.sockaddr() 470 msg.Namelen = uint32(salen)
|
D | syscall_bsd.go | 373 var salen _Socklen 375 ptr, salen, err = to.sockaddr() 382 msg.Namelen = uint32(salen)
|
D | syscall_linux.go | 975 var salen _Socklen 978 ptr, salen, err = to.sockaddr() 985 msg.Namelen = uint32(salen)
|
/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/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 72 int salen; /* bind's 3rd argument */ member 122 (s, tdat[testno].sockaddr, tdat[testno].salen)); in main()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 61 socklen_t *salen; /* accept's 3rd argument */ member 107 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/ltp/include/ |
D | safe_net_fn.h | 28 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/curl/lib/ |
D | hostip.h | 138 GETNAMEINFO_TYPE_ARG2 salen,
|
D | setup-os400.h | 52 curl_socklen_t salen,
|
/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
|