netsniff-ng: Move variable definition
[netsniff-ng.git] / dissector_netlink.h
blob9d30e56b263463b059524c0551237910d6af3a3a
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2014 Tobias Klauser.
4 * Subject to the GPL, version 2.
5 */
7 #ifndef DISSECTOR_NETLINK_H
8 #define DISSECTOR_NETLINK_H
10 #include "protos.h"
12 extern void dissector_init_netlink(int fnttype);
13 extern void dissector_cleanup_netlink(void);
15 static inline struct protocol *dissector_get_netlink_entry_point(void)
17 return &nlmsg_ops;
20 static inline struct protocol *dissector_get_netlink_exit_point(void)
22 return &none_ops;
25 #endif /* DISSECTOR_NETLINK_H */