/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 69 struct test_case_t { /* test case structure */ struct 70 int domain; /* PF_INET, PF_UNIX, ... */ 71 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 72 int proto; /* protocol number (usually 0 = default) */ 73 int level; /* IPPROTO_* */ 74 int optname; 75 void *optval; 76 int optlen; 77 struct sockaddr *sin; 78 int salen; [all …]
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 69 struct test_case_t { /* test case structure */ struct 70 int domain; /* PF_INET, PF_UNIX, ... */ 71 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 72 int proto; /* protocol number (usually 0 = default) */ 73 int level; /* IPPROTO_* */ 74 int optname; 75 void *optval; 76 socklen_t *optlen; 77 struct sockaddr *sin; 78 int salen; [all …]
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair01.c | 36 struct test_case_t { struct 37 int domain; 61 struct test_case_t *tc = &tdat[n]; in verify_socketpair() argument
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 67 struct test_case_t { struct 68 int domain; /* PF_INET, PF_UNIX, ... */ 69 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 70 int proto; /* protocol number (usually 0 = default) */ 71 int cmd; /* IPPROTO_* */ 72 void *arg; 73 struct sockaddr *sin; 74 int salen; 75 int retval; /* syscall return value */ 76 int experrno; /* expected errno */ [all …]
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 67 struct test_case_t { /* test case structure */ struct 68 int domain; /* PF_INET, PF_UNIX, ... */ 69 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 70 int proto; /* protocol number (usually 0 = default) */ 71 struct sockaddr *sockaddr; /* socket address buffer */ 72 socklen_t *salen; /* getsockname's 3rd argument */ 73 int retval; /* syscall return value */ 74 int experrno; /* expected errno */ 75 void (*setup) (void); 76 void (*cleanup) (void); [all …]
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 67 struct test_case_t { /* test case structure */ struct 68 int domain; /* PF_INET, PF_UNIX, ... */ 69 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 70 int proto; /* protocol number (usually 0 = default) */ 71 struct sockaddr *sockaddr; /* socket address buffer */ 72 int salen; /* bind's 3rd argument */ 73 int retval; /* syscall return value */ 74 int experrno; /* expected errno */ 75 void (*setup) (void); 76 void (*cleanup) (void); [all …]
|
/external/ltp/testcases/kernel/syscalls/listen/ |
D | listen01.c | 66 struct test_case_t { /* test case structure */ struct 67 int domain; /* PF_INET, PF_UNIX, ... */ 68 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 69 int proto; /* protocol number (usually 0 = default) */ 70 int backlog; /* connect's 3rd argument */ 71 int retval; /* syscall return value */ 72 int experrno; /* expected errno */ 73 void (*setup) (void); 74 void (*cleanup) (void); 75 char *desc;
|
/external/ltp/testcases/kernel/syscalls/socket/ |
D | socket01.c | 35 struct test_case_t { struct 57 struct test_case_t *tc = &tdat[n]; in verify_socket() argument
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 56 struct test_case_t { /* test case structure */ struct 57 int domain; /* PF_INET, PF_UNIX, ... */ 58 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 59 int proto; /* protocol number (usually 0 = default) */ 60 struct sockaddr *sockaddr; /* socket address buffer */ 61 socklen_t *salen; /* accept's 3rd argument */ 62 int retval; /* syscall return value */ 63 int experrno; /* expected errno */ 64 void (*setup) (void); 65 void (*cleanup) (void); [all …]
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 54 struct test_case_t { /* test case structure */ struct 55 int domain; /* PF_INET, PF_UNIX, ... */ 56 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 80 struct test_case_t tdat[] = { argument
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
D | recvfrom01.c | 77 struct test_case_t { /* test case structure */ struct 78 int domain; /* PF_INET, PF_UNIX, ... */ 79 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 80 int proto; /* protocol number (usually 0 = default) */ 81 void *buf; /* recv data buffer */ 82 size_t buflen; /* recv's 3rd argument */ 83 unsigned flags; /* recv's 4th argument */ 84 struct sockaddr *from; /* from address */ 85 socklen_t *salen; /* from address value/result buffer length */ 86 int retval; /* syscall return value */ [all …]
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap05.c | 50 struct test_case_t { struct 60 void (*setup) (struct test_case_t *); argument 61 void (*cleanup) (struct test_case_t *); argument
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 85 struct test_case_t { /* test case structure */ struct 104 struct test_case_t tdat[] = { argument
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile03.c | 71 struct test_case_t { struct 72 char *desc; 73 void (*setupfunc) (); 74 int out_fd; 75 int in_fd; 76 OFF_T *offset; 77 int count; 78 int exp_errno;
|
/external/ltp/testcases/kernel/syscalls/send/ |
D | send01.c | 55 struct test_case_t { /* test case structure */ struct 78 static struct test_case_t tdat[] = { argument
|
/external/ltp/testcases/kernel/syscalls/getpeername/ |
D | getpeername01.c | 52 struct test_case_t { struct 53 int sockfd; 54 struct sockaddr *sockaddr; 55 socklen_t *addrlen; 56 int expretval; 57 int experrno; 58 void (*setup) (int); 59 void (*cleanup) (int); 60 char *name;
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 91 struct test_case_t { /* test case structure */ struct 92 int domain; /* PF_INET, PF_UNIX, ... */ 93 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 94 int proto; /* protocol number (usually 0 = default) */ 95 struct iovec *iov; 96 int iovcnt; 97 void *buf; /* recv data buffer */ 98 int buflen; /* recv buffer length */ 99 struct msghdr *msg; 100 unsigned flags; [all …]
|
/external/ltp/testcases/kernel/syscalls/ustat/ |
D | ustat02.c | 22 static struct test_case_t { struct 23 char *err_desc; 24 int exp_errno; 25 char *exp_errval; 26 dev_t *dev; 27 struct ustat *buf;
|
/external/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 70 struct test_case_t { /* test case structure */ struct 71 int domain; /* PF_INET, PF_UNIX, ... */ 72 int type; /* SOCK_STREAM, SOCK_DGRAM ... */ 73 int proto; /* protocol number (usually 0 = default) */ 74 void *buf; /* recv data buffer */ 75 int buflen; /* recv's 3rd argument */ 76 unsigned flags; /* recv's 4th argument */ 77 int retval; /* syscall return value */ 78 int experrno; /* expected errno */ 79 void (*setup) (void); [all …]
|
/external/ltp/testcases/kernel/syscalls/swapoff/ |
D | swapoff02.c | 47 static struct test_case_t { struct 48 char *err_desc; 49 int exp_errno; 50 char *exp_errval; 51 char *path; 52 int (*setup)(void); 53 void (*cleanup)(void);
|
/external/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid01.c | 83 struct test_case_t { /* test case structure */ struct 103 static struct test_case_t tdat[] = { argument
|
D | setresgid02.c | 88 struct test_case_t { /* test case structure */ struct 108 static struct test_case_t tdat[] = { argument
|
/external/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname02.c | 93 static struct test_case_t { struct 94 char *desc; 95 char *name; 96 int len; 97 int exp_errno; 98 char err_desc[10];
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
D | syslog12.c | 88 struct test_case_t { /* test case structure */ struct 111 static struct test_case_t tdat[] = { argument
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop04.c | 62 struct test_case_t { struct 63 union semun get_arr; 64 short op; 65 short flg; 66 short num; 67 int error;
|