/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #include #include "hash.h" #include "protos.h" #include "dissector.h" #include "dissector_80211.h" #include "lookup.h" struct hash_table ieee80211_lay2; static inline void dissector_init_entry(int type) { dissector_set_print_type(&ieee80211_ops, type); } static inline void dissector_init_exit(int type) { dissector_set_print_type(&none_ops, type); } static void dissector_init_layer_2(int type) { init_hash(&ieee80211_lay2); // INSERT_HASH_PROTOS(blubber_ops, ieee80211_lay2); for_each_hash_int(&ieee80211_lay2, dissector_set_print_type, type); } void dissector_init_ieee80211(int fnttype) { dissector_init_entry(fnttype); dissector_init_layer_2(fnttype); dissector_init_exit(fnttype); lookup_init(LT_OUI); } void dissector_cleanup_ieee80211(void) { free_hash(&ieee80211_lay2); lookup_cleanup(LT_OUI); } it();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2017-02-06can: flexcan: make TX mailbox selectable during runtimeMarc Kleine-Budde1-18/+24
2017-02-06can: flexcan: calculate default value for imask1 during runtimeMarc Kleine-Budde1-6/+8
2017-02-06can: flexcan: flexcan_irq(): don't unconditionally return IRQ_HANDLEDMarc Kleine-Budde1-5/+11
2017-02-06can: flexcan: flexcan_poll_bus_err(): fold in do_bus_err()Marc Kleine-Budde1-14/+7
2017-02-06can: flexcan: flexcan_poll_state(): no need to initialize new_state, rx_state...Marc Kleine-Budde1-1/+1
2017-02-06can: flexcan: do_bus_err(): convert rx_,tx_errors into boolMarc Kleine-Budde1-7/+7
2017-02-06can: flexcan: make declaration of devtype_data constMarc Kleine-Budde1-4/+4
2017-02-06can: flexcan: remove write-only member pdata of struct flexcan_privMarc Kleine-Budde1-2/+0
2017-02-06can: flexcan: add missing register definitionsMarc Kleine-Budde1-3/+10
2017-02-06can: rx-offload: Add support for timestamp based irq offloadingMarc Kleine-Budde