summaryrefslogtreecommitdiff
path: root/cpusched.h
blob: a7c26ce337fdfe2fa2af891ec902bbd185abaa7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 */