flowtop: refactor major parts of the code (more on todo)
[netsniff-ng.git] / src / bpf_symtab.h
blob0c67b26560aff7b21ffde596e1a2ec0034a68f80
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2012 Daniel Borkmann <dborkma@tik.ee.ethz.ch>,
5 * Swiss federal institute of technology (ETH Zurich)
6 * Subject to the GPL, version 2.
7 */
9 #ifndef BPF_SYMTAB_H
10 #define BPF_SYMTAB_H
12 extern int bpf_symtab_insert(const char *name, int type);
13 extern void bpf_symtab_declare(int idx);
14 extern int bpf_symtab_find(const char *name);
15 extern const char *bpf_symtab_name(int idx);
16 extern int bpf_symtab_type(int idx);
17 extern int bpf_symtab_declared(int idx);
18 extern void bpf_symtab_cleanup(void);
20 #endif /* BPF_SYMTAB_H */