build: announcement: also add v prefix to checkout command
[netsniff-ng.git] / dissector_80211.h
blob31e19653cfe21f1a800f6fef2cd32a75372a1f74
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 "oui.h"
16 extern struct hash_table ieee80211_lay2;
18 extern void dissector_init_ieee80211(int fnttype);
19 extern void dissector_cleanup_ieee80211(void);
21 #ifdef HAVE_DISSECTOR_PROTOS
22 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
24 return &ieee80211_ops;
27 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
29 return &none_ops;
31 #else
32 static inline struct protocol *dissector_get_ieee80211_entry_point(void)
34 return NULL;
37 static inline struct protocol *dissector_get_ieee80211_exit_point(void)
39 return NULL;
41 #endif
42 #endif /* DISSECTOR_80211_H */