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 <wipal/wifi/timestamp.hh>
00026 # include <wipal/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 src_bss_tmp_tag1 {};
00038 struct src_bss_tmp_tag2 {};
00039
00040 }
00041
00042 typedef
00043 unique_id<
00044 internals::adapter<unsigned, internals::src_bss_tmp_tag1>,
00045 internals::adapter<unsigned, internals::src_bss_tmp_tag2>,
00046 timestamp>
00047 src_bss_tmp_id;
00048
00049 template <>
00050 struct unique_id_factory<src_bss_tmp_id>
00051 {
00052 template <class HeaderType, class D>
00053 boost::optional<src_bss_tmp_id>
00054 build(const pcapxx::frame_descriptor<D>& desc,
00055 addr_mapping& mapping);
00056 };
00057
00058 }
00059
00060 }
00061
00062 # include "source_bssid_timestamp.hxx"
00063
00064 #endif // ! WIFI_FRAME_SOURCE_BSSID_TIMESTAMP_ID_HH_