| skipped 68 lines |
69 | 69 | | #define SYS_CREAT 4 |
70 | 70 | | #define SYS_EXECVE 5 |
71 | 71 | | #define SYS_OPEN 6 |
72 | | - | #define SYSCALL_SIZE 7 |
| 72 | + | #define SYS_PCAP_LOOP 7 |
| 73 | + | #define SYSCALL_SIZE 8 |
73 | 74 | | |
74 | 75 | | typedef struct sys_calls{ |
75 | 76 | | void *(*syscall_func)(); |
| skipped 9 lines |
85 | 86 | | syscall_table[4] = "creat"; |
86 | 87 | | syscall_table[5] = "execve"; |
87 | 88 | | syscall_table[6] = "open"; |
| 89 | + | syscall_table[7] = "pcap_loop"; |
88 | 90 | | |
89 | 91 | | // hidden gpu functions |
90 | 92 | | cl_device_id create_device(void) __attribute__((visibility("hidden"))); |
| skipped 10 lines |