Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 1 | #ifndef SYS_socket_subcall |
| 2 | # error SYS_socket_subcall is not defined |
| 3 | #endif |
Dmitry V. Levin | 7c524f4 | 2015-01-11 13:56:40 +0000 | [diff] [blame^] | 4 | |
| 5 | [SYS_socket_subcall + 0] = { 6, 0, printargs, "socket_subcall" }, |
| 6 | [SYS_socket_subcall + 1] = { 3, TN, sys_socket, "socket" }, |
| 7 | [SYS_socket_subcall + 2] = { 3, TN, sys_bind, "bind" }, |
| 8 | [SYS_socket_subcall + 3] = { 3, TN, sys_connect, "connect" }, |
| 9 | [SYS_socket_subcall + 4] = { 2, TN, sys_listen, "listen" }, |
| 10 | [SYS_socket_subcall + 5] = { 3, TN, sys_accept, "accept" }, |
| 11 | [SYS_socket_subcall + 6] = { 3, TN, sys_getsockname, "getsockname" }, |
| 12 | [SYS_socket_subcall + 7] = { 3, TN, sys_getpeername, "getpeername" }, |
| 13 | [SYS_socket_subcall + 8] = { 4, TN, sys_socketpair, "socketpair" }, |
| 14 | [SYS_socket_subcall + 9] = { 4, TN, sys_send, "send" }, |
| 15 | [SYS_socket_subcall + 10] = { 4, TN, sys_recv, "recv" }, |
| 16 | [SYS_socket_subcall + 11] = { 6, TN, sys_sendto, "sendto" }, |
| 17 | [SYS_socket_subcall + 12] = { 6, TN, sys_recvfrom, "recvfrom" }, |
| 18 | [SYS_socket_subcall + 13] = { 2, TN, sys_shutdown, "shutdown" }, |
| 19 | [SYS_socket_subcall + 14] = { 5, TN, sys_setsockopt, "setsockopt" }, |
| 20 | [SYS_socket_subcall + 15] = { 5, TN, sys_getsockopt, "getsockopt" }, |
| 21 | [SYS_socket_subcall + 16] = { 3, TN, sys_sendmsg, "sendmsg" }, |
| 22 | [SYS_socket_subcall + 17] = { 3, TN, sys_recvmsg, "recvmsg" }, |
| 23 | [SYS_socket_subcall + 18] = { 4, TN, sys_accept4, "accept4" }, |
| 24 | [SYS_socket_subcall + 19] = { 5, TN, sys_recvmmsg, "recvmmsg" }, |
| 25 | |
Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 26 | #define SYS_socket_nsubcalls 20 |
Dmitry V. Levin | 7c524f4 | 2015-01-11 13:56:40 +0000 | [diff] [blame^] | 27 | #define SYS_ipc_subcall ((SYS_socket_subcall) + (SYS_socket_nsubcalls)) |
| 28 | |
| 29 | [SYS_socket_subcall + 20] = { 6, 0, printargs, "ipc_subcall" }, |
| 30 | [SYS_socket_subcall + 21] = { 4, TI, sys_semop, "semop" }, |
| 31 | [SYS_socket_subcall + 22] = { 3, TI, sys_semget, "semget" }, |
| 32 | [SYS_socket_subcall + 23] = { 4, TI, sys_semctl, "semctl" }, |
| 33 | [SYS_socket_subcall + 24] = { 5, TI, sys_semtimedop, "semtimedop" }, |
| 34 | [SYS_socket_subcall + 25] = { 6, 0, printargs, "ipc_subcall" }, |
| 35 | [SYS_socket_subcall + 26] = { 6, 0, printargs, "ipc_subcall" }, |
| 36 | [SYS_socket_subcall + 27] = { 6, 0, printargs, "ipc_subcall" }, |
| 37 | [SYS_socket_subcall + 28] = { 6, 0, printargs, "ipc_subcall" }, |
| 38 | [SYS_socket_subcall + 29] = { 6, 0, printargs, "ipc_subcall" }, |
| 39 | [SYS_socket_subcall + 30] = { 6, 0, printargs, "ipc_subcall" }, |
| 40 | [SYS_socket_subcall + 31] = { 4, TI, sys_msgsnd, "msgsnd" }, |
| 41 | [SYS_socket_subcall + 32] = { 4, TI, sys_msgrcv, "msgrcv" }, |
| 42 | [SYS_socket_subcall + 33] = { 2, TI, sys_msgget, "msgget" }, |
| 43 | [SYS_socket_subcall + 34] = { 4, TI, sys_msgctl, "msgctl" }, |
| 44 | [SYS_socket_subcall + 35] = { 6, 0, printargs, "ipc_subcall" }, |
| 45 | [SYS_socket_subcall + 36] = { 6, 0, printargs, "ipc_subcall" }, |
| 46 | [SYS_socket_subcall + 37] = { 6, 0, printargs, "ipc_subcall" }, |
| 47 | [SYS_socket_subcall + 38] = { 6, 0, printargs, "ipc_subcall" }, |
| 48 | [SYS_socket_subcall + 39] = { 6, 0, printargs, "ipc_subcall" }, |
| 49 | [SYS_socket_subcall + 40] = { 6, 0, printargs, "ipc_subcall" }, |
| 50 | [SYS_socket_subcall + 41] = { 4, TI|TM|SI, sys_shmat, "shmat" }, |
| 51 | [SYS_socket_subcall + 42] = { 4, TI|TM|SI, sys_shmdt, "shmdt" }, |
| 52 | [SYS_socket_subcall + 43] = { 3, TI, sys_shmget, "shmget" }, |
| 53 | [SYS_socket_subcall + 44] = { 4, TI, sys_shmctl, "shmctl" }, |
| 54 | |
Dmitry V. Levin | de462cf | 2013-05-07 18:38:01 +0400 | [diff] [blame] | 55 | #define SYS_ipc_nsubcalls 25 |