Packets/80221Bundle: integrated GenericTLVRegistry
[senf.git] / senf / Packets / 80211Bundle / InformationElements.hh
index 69fa2a9..31e506f 100644 (file)
@@ -41,6 +41,8 @@ namespace senf {
         SENF_PARSER_FIELD    ( type,   UInt8Parser   );
         SENF_PARSER_FIELD    ( length, UInt8Parser   );
         SENF_PARSER_FINALIZE ( WLANInfoElementParser );
+        
+        typedef GenericTLVParserRegistry<WLANInfoElementParser> Registry;
     };
 
     typedef GenericTLVParserBase<WLANInfoElementParser> WLANGenericInfoElementParser;
@@ -59,6 +61,8 @@ namespace senf {
             type() = typeId;
         }        
         static const type_t::value_type typeId = 0x00u;
+        
+        void dump(std::ostream & os) const;
     };
         
     struct WLANSupportedRatesInfoElementParser
@@ -75,6 +79,8 @@ namespace senf {
             type() = typeId;
         }        
         static const type_t::value_type typeId = 0x01u;
+        
+        void dump(std::ostream & os) const;
     };
         
     struct WLANPowerConstraintInfoElementParser
@@ -90,6 +96,8 @@ namespace senf {
             length() = 1;
         }        
         static const type_t::value_type typeId = 0x20u;
+        
+        void dump(std::ostream & os) const;
     };
 }