SENF_PARSER_FIELD ( type, UInt8Parser );
SENF_PARSER_FIELD ( length, UInt8Parser );
SENF_PARSER_FINALIZE ( WLANInfoElementParser );
+
+ typedef GenericTLVParserRegistry<WLANInfoElementParser> Registry;
};
typedef GenericTLVParserBase<WLANInfoElementParser> WLANGenericInfoElementParser;
SENF_PARSER_FINALIZE ( WLANSSIDInfoElementParser );
SENF_PARSER_INIT() {
- type() = TYPEID;
+ type() = typeId;
}
- static const type_t::value_type TYPEID = 0x00u;
+ static const type_t::value_type typeId = 0x00u;
+
+ void dump(std::ostream & os) const;
};
struct WLANSupportedRatesInfoElementParser
SENF_PARSER_FINALIZE ( WLANSupportedRatesInfoElementParser );
SENF_PARSER_INIT() {
- type() = TYPEID;
+ type() = typeId;
}
- static const type_t::value_type TYPEID = 0x01u;
+ static const type_t::value_type typeId = 0x01u;
+
+ void dump(std::ostream & os) const;
};
struct WLANPowerConstraintInfoElementParser
SENF_PARSER_FINALIZE ( WLANPowerConstraintInfoElementParser );
SENF_PARSER_INIT() {
- type() = TYPEID;
+ type() = typeId;
length() = 1;
}
- static const type_t::value_type TYPEID = 0x20u;
+ static const type_t::value_type typeId = 0x20u;
+
+ void dump(std::ostream & os) const;
};
}