diff options
Diffstat (limited to 'cpusched.h')
-rw-r--r-- | cpusched.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpusched.h b/cpusched.h new file mode 100644 index 0000000..a7c26ce --- /dev/null +++ b/cpusched.h @@ -0,0 +1,16 @@ +/* + * netsniff-ng - the packet sniffing beast + * Copyright 2011 Daniel Borkmann. + * Subject to the GPL, version 2. + */ + +#ifndef CPUSCHED_H +#define CPUSCHED_H + +extern void init_cpusched(unsigned int cpus); +extern unsigned int socket_to_cpu(int fd); +extern unsigned int register_socket(int fd); +extern void unregister_socket(int fd); +extern void destroy_cpusched(void); + +#endif /* CPUSCHED_H */ |