17 #include <boost/io/ios_state.hpp> 28 boost::io::ios_all_saver ias(os);
29 os <<
"WLAN beacon frame:\n" 31 <<
senf::fieldName(
"beaconInterval") << unsigned( p->beaconInterval()) <<
"\n";
32 p->ssidIE().dump( os);
33 p->supportedRatesIE().dump( os);
34 os <<
" Optional Information Elements:\n";
35 typedef parser::ieList_t::container_type ieListContainer_t;
36 ieListContainer_t ieListContainer (p->ieList());
46 boost::io::ios_all_saver ias(os);
47 os <<
"Information Elements:\n";
48 typedef parser::ieList_t::container_type ieListContainer_t;
49 ieListContainer_t ieListContainer (p->ieList());
std::string fieldName(std::string const &s)
static void dump(packet p, std::ostream &os)
802.11 WLAN Beacon Packet public header
raw_container::const_iterator const_iterator
Protocol specific packet handle.
SENF_PACKET_REGISTRY_REGISTER(senf::WLANManagementSubtypes, 8u, senf::WLANBeaconPacket)
SENF_PACKET_INSTANTIATE_TEMPLATE(senf::WLANBeaconPacket)
80211Bundle packet registries public header