/external/openssh/openbsd-compat/ |
rresvport.c | 64 socklen_t salen; local 71 salen = sizeof(struct sockaddr_in); 75 salen = sizeof(struct sockaddr_in6); 90 if (bind(s, sa, salen) >= 0)
|
bindresvport.c | 61 socklen_t salen; local 67 salen = sizeof(myaddr); 69 if (getsockname(sd, sa, &salen) == -1) 73 memset(&myaddr, 0, salen); 79 salen = sizeof(struct sockaddr_in); 83 salen = sizeof(struct sockaddr_in6); 101 error = bind(sd, sa, salen);
|
/external/ltp/testcases/kernel/syscalls/accept/ |
accept01.c | 61 socklen_t *salen; /* accept's 3rd argument */ member in struct:test_case_t 80 "invalid salen"}, { 83 "invalid salen"}, { 107 tdat[testno].salen));
|
/external/ltp/testcases/kernel/syscalls/bind/ |
bind01.c | 71 int salen; /* bind's 3rd argument */ member in struct:test_case_t 87 3, -1, EINVAL, setup0, cleanup0, "invalid salen"}, { 121 (s, tdat[testno].sockaddr, tdat[testno].salen));
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
getsockname01.c | 71 socklen_t *salen; /* getsockname's 3rd argument */ member in struct:test_case_t 91 /* invalid salen test for aligned input */ 94 "invalid aligned salen"}, { 95 /* invalid salen test for unaligned input */ 98 "invalid unaligned salen"}, 118 tdat[testno].salen));
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
setsockopt01.c | 77 int salen; member in struct:test_case_t
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
getsockopt01.c | 77 int salen; member in struct:test_case_t
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
sockioctl01.c | 73 int salen; member in struct:test_case_t
|
/external/ltp/testcases/kernel/syscalls/connect/ |
connect01.c | 74 int salen; /* connect's 3rd argument */ member in struct:test_case_t 94 3, -1, EINVAL, setup1, cleanup1, "invalid salen"}, { 136 (s, tdat[testno].sockaddr, tdat[testno].salen));
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
recvfrom01.c | 84 socklen_t *salen; /* from address value/result buffer length */ member in struct:test_case_t 159 tdat[testno].salen));
|
/external/ppp/pppd/plugins/radius/ |
sendserver.c | 203 int salen; local 328 salen = sizeof (saremote); 331 (int) 0, &saremote, &salen);
|
/external/c-ares/ |
ares_process.c | 936 ares_socklen_t salen; local 947 salen = sizeof(saddr.sa4); 948 memset(sa, 0, salen); 956 salen = sizeof(saddr.sa6); 957 memset(sa, 0, salen); 996 if (connect(s, sa, salen) == -1) 1028 ares_socklen_t salen; local [all...] |
/external/iputils/ |
tracepath6.c | 212 socklen_t salen; local 221 salen = sizeof(struct sockaddr_in6); 224 salen = sizeof(struct sockaddr_in); 227 salen = 0; 231 if (getnameinfo(sa, salen, 240 if (getnameinfo(sa, salen,
|
/external/libnl/lib/ |
addr.c | 691 * @arg salen Length of sockaddr structure buffer. 694 * specified abstract address. The salen argument needs to be set to the 701 socklen_t *salen) 707 if (*salen < sizeof(*sai)) 712 *salen = sizeof(*sai); 719 if (*salen < sizeof(*sa6)) 724 *salen = sizeof(*sa6); 804 socklen_t salen = sizeof(buf); local 806 err = nl_addr_fill_sockaddr(addr, (struct sockaddr *) &buf, &salen); 810 err = getnameinfo((struct sockaddr *) &buf, salen, host, hostlen [all...] |