netsniff-ng: Print process name of the netlink message origin
[netsniff-ng.git] / dissector_80211.h
blob47b50a281d0d73b21fdd5d557aefc87085ebf61e
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2009, 2010 Daniel Borkmann.
4 * Subject to the GPL, version 2.
5 */
7 #ifndef DISSECTOR_80211_H
8 #define DISSECTOR_80211_H
10 #include "hash.h"
11 #include "protos.h"
13 extern struct hash_table ieee80211_lay2;
15 extern void dissector_init_ieee80211(int fnttype);
16 extern void dissector_cleanup_ieee80211(void);
18 #ifdef HAVE_DISSECTOR_PROTOS
19 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
21 return &ieee80211_ops;
24 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
26 return &none_ops;
28 #else
29 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
31 return NULL;
34 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
36 return NULL;
38 #endif
39 #endif /* DISSECTOR_80211_H */