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_TIMESTAMP_ID_HH_
00023 # define WIFI_FRAME_SOURCE_TIMESTAMP_ID_HH_
00024
00025 # include <trace-tools/wifi/timestamp.hh>
00026 # include <trace-tools/wifi/frame/unique_id.hh>
00027
00028 namespace wifi
00029 {
00030
00031 namespace frame
00032 {
00033
00034 namespace internals { struct source_timestamp_tag {}; }
00035
00036 typedef unique_id<
00037 internals::adapter<unsigned, internals::source_timestamp_tag>,
00038 internals::adapter<timestamp, internals::source_timestamp_tag> >
00039 source_timestamp_id;
00040
00041 template <>
00042 boost::optional<source_timestamp_id>
00043 make_unique_id<source_timestamp_id,
00044 prism::header>(const pcapxx::frame_descriptor& desc,
00045 addr_mapping& mapping,
00046 bool prism_noise_means_error);
00047
00048 }
00049
00050 }
00051
00052 # include "source_timestamp_id.hxx"
00053
00054 #endif // ! WIFI_FRAME_SOURCE_TIMESTAMP_ID_HH_