00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef WIFI_FRAME_SOURCE_BSSID_TIMESTAMP_ID_HH_
00023 # define WIFI_FRAME_SOURCE_BSSID_TIMESTAMP_ID_HH_
00024
00025 # include <trace-tools/wifi/timestamp.hh>
00026 # include <trace-tools/wifi/frame/unique_id/unique_id.hh>
00027
00028 namespace wifi
00029 {
00030
00031 namespace frame
00032 {
00033
00034 namespace internals
00035 {
00036
00037 struct source_bssid_timestamp_tag1 {};
00038 struct source_bssid_timestamp_tag2 {};
00039
00040 }
00041
00042 typedef
00043 unique_id<
00044 internals::adapter<unsigned, internals::source_bssid_timestamp_tag1>,
00045 internals::adapter<unsigned, internals::source_bssid_timestamp_tag2>,
00046 timestamp>
00047 source_bssid_timestamp_id;
00048
00049 template <>
00050 boost::optional<source_bssid_timestamp_id>
00051 make_unique_id<source_bssid_timestamp_id,
00052 prism::header>(const pcapxx::frame_descriptor& desc,
00053 addr_mapping& mapping,
00054 bool prism_noise_means_error);
00055
00056 }
00057
00058 }
00059
00060 # include "source_bssid_timestamp.hxx"
00061
00062 #endif // ! WIFI_FRAME_SOURCE_BSSID_TIMESTAMP_ID_HH_