netsniff-ng: remove set_sockopt_hwtimestamp call
[netsniff-ng.git] / dissector_80211.h
blob8c22356bab388b0a159564b4f0e3e6a503404e5e
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 "proto.h"
12 #include "protos.h"
13 #include "tprintf.h"
14 #include "xutils.h"
15 #include "oui.h"
17 extern struct hash_table ieee80211_lay2;
19 extern void dissector_init_ieee80211(int fnttype);
20 extern void dissector_cleanup_ieee80211(void);
22 #ifdef __WITH_PROTOS
23 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
25 return &ieee80211_ops;
28 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
30 return &none_ops;
32 #else
33 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
35 return NULL;
38 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
40 return NULL;
42 #endif /* __WITH_PROTOS */
43 #endif /* DISSECTOR_80211_H */