netsniff-ng: dissector_sll: Fix potential NULL dereference
[netsniff-ng.git] / dissector_80211.h
blob44bfc8250694ea6e584c9119f1457d8a31875571
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 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
20 return &ieee80211_ops;
23 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
25 return &none_ops;
28 #endif /* DISSECTOR_80211_H */