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_SEQCTL_BSSID_TIMESTAMP_ID_HH_
00023 # define WIFI_FRAME_SEQCTL_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 seq_bss_tmp_tag1 {};
00038 struct seq_bss_tmp_tag2 {};
00039
00040 }
00041
00042 typedef unique_id<
00043 internals::adapter<uint16_t, internals::seq_bss_tmp_tag1>,
00044 internals::adapter<unsigned, internals::seq_bss_tmp_tag2>,
00045 timestamp>
00046 seq_bss_tmp_id;
00047
00048 template <>
00049 struct unique_id_factory<seq_bss_tmp_id>
00050 {
00051 template <class HeaderType>
00052 boost::optional<seq_bss_tmp_id>
00053 build(const pcapxx::frame_descriptor& desc,
00054 addr_mapping& mapping);
00055 };
00056
00057 }
00058
00059 }
00060
00061 # include "seqctl_bssid_timestamp.hxx"
00062
00063 #endif // ! WIFI_FRAME_SEQCTL_BSSID_TIMESTAMP_ID_HH_