/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 61 struct sockaddr_in sin0, fsin1; variable 87 &optlen, (struct sockaddr *)&fsin1, sizeof(fsin1), 91 &optlen, (struct sockaddr *)&fsin1, sizeof(fsin1), 97 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 101 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 107 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 111 &optlen, (struct sockaddr *)&fsin1, sizeof(fsin1), 115 &optlen, (struct sockaddr *)&fsin1, sizeof(fsin1), 120 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 124 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, [all …]
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 63 struct sockaddr_in sin0, fsin1; variable 87 sizeof(optval), (struct sockaddr *)&fsin1, 88 sizeof(fsin1), -1, EBADF, setup0, cleanup0, 92 sizeof(optval), (struct sockaddr *)&fsin1, 93 sizeof(fsin1), -1, ENOTSOCK, setup0, cleanup0, 99 sizeof(optval), (struct sockaddr *)&fsin1, 100 sizeof(fsin1), -1, EFAULT, setup1, cleanup1, 106 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 110 sizeof(optval), (struct sockaddr *)&fsin1, 111 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1, [all …]
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 49 static struct sockaddr_in sin0, fsin1; variable 83 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 87 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 93 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 99 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 103 (struct sockaddr *)&fsin1, sizeof(fsin1), 0, 107 (struct sockaddr *)&fsin1, sizeof(fsin1), 0, 111 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 115 (struct sockaddr *)&fsin1, sizeof(fsin1), -1, 211 sinlen = sizeof(fsin1); in setup1()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 44 struct sockaddr_in sin0, fsin1; variable 69 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 72 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 78 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 81 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 84 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 87 PF_INET, SOCK_DGRAM, 0, (struct sockaddr *)&fsin1, 162 sinlen = sizeof(fsin1); in setup1()
|
/external/ltp/testcases/kernel/syscalls/getpeername/ |
D | getpeername01.c | 39 static struct sockaddr_in fsin1; 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, 68 {-1, (struct sockaddr *)&fsin1, &invalid_sinlen, -1, EINVAL, setup4, 73 {-1, (struct sockaddr *)&fsin1, NULL, -1, EFAULT, setup4, 75 {-1, (struct sockaddr *)&fsin1, (socklen_t *)1, -1, EFAULT, setup4, 137 sinlen = sizeof(fsin1); in setup()
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 61 struct sockaddr_in sin0, fsin1; variable 80 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 83 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 93 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 97 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&fsin1, 174 sinlen = sizeof(fsin1); in setup1()
|