Home
last modified time | relevance | path

Searched refs:sinlen (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c40 static socklen_t sinlen; variable
62 {-1, (struct sockaddr *)&fsin1, &sinlen, -1, EBADF, NULL, NULL,
64 {-1, (struct sockaddr *)&fsin1, &sinlen, -1, ENOTSOCK, setup2, cleanup2,
66 {-1, (struct sockaddr *)&fsin1, &sinlen, -1, ENOTCONN, setup3, cleanup2,
71 {-1, (struct sockaddr *)-1, &sinlen, -1, EFAULT, setup4, cleanup4,
137 sinlen = sizeof(fsin1); in setup()
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c62 socklen_t sinlen; variable
81 &sinlen, -1, EBADF, setup0, cleanup0,
84 &sinlen, -1, ENOTSOCK, setup0, cleanup0,
90 &sinlen, -1, EFAULT, setup1, cleanup1,
174 sinlen = sizeof(fsin1); in setup1()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c62 int sinlen; variable
200 sinlen = sizeof(fsin1); in setup1()
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c52 static int sinlen; variable
211 sinlen = sizeof(fsin1); in setup1()
/external/flac/src/plugin_xmms/
Dhttp.c751 socklen_t sinlen = sizeof (struct sockaddr_in); in udp_establish_listener() local
764 memset(&sin, 0, sinlen); in udp_establish_listener()
768 if (bind(*sock, (struct sockaddr *)&sin, sinlen) < 0) in udp_establish_listener()
783 memset(&sin, 0, sinlen); in udp_establish_listener()
784 if (getsockname(*sock, (struct sockaddr *)&sin, &sinlen) < 0) in udp_establish_listener()