trafgen: inline constant expression calculator
[netsniff-ng.git] / src / ct_cpusched.h
blob7b9c46dbdc06d929c970793845abae730bb5cde8
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2011 Daniel Borkmann.
5 * Subject to the GPL, version 2.
6 */
8 #ifndef CT_CPUSCHED_H
9 #define CT_CPUSCHED_H
11 extern void init_cpusched(unsigned int cpus);
12 extern unsigned int socket_to_cpu(int fd);
13 extern unsigned int register_socket(int fd);
14 extern void unregister_socket(int fd);
15 extern void destroy_cpusched(void);
17 #endif /* CT_CPUSCHED_H */