# include SENF_FIXED_PARSER()
SENF_PARSER_PRIVATE_BITFIELD ( subtype, 4, unsigned ); //<pkgdraw: hide
- //skip type and version
+ //skip type and version
SENF_PARSER_SKIP_BITS ( 4 ); //<pkgdraw: hide
//jump to fist address field
SENF_PARSER_SKIP ( 3 ); //<pkgdraw: hide
# include SENF_PARSER()
SENF_PARSER_PRIVATE_BITFIELD ( subtype, 4, unsigned ); //<pkgdraw: hide
- //skip type and version
+ //skip type and version
SENF_PARSER_SKIP_BITS ( 4 ); //<pkgdraw: hide
//jump to fist address field
SENF_PARSER_SKIP ( 3, 3 ); //<pkgdraw: hide
\par Fields:
\ref WLANPacketParser
- \image html WLANPacket.png
+ \image html WLANPacket.png
\ingroup protocolbundle_80211
*/
/** \brief MLDv2 Listener query
\par Packet type (typedef):
- \ref MLDv2ListenerQuery
+ \ref MLDv2ListenerQuery
\par Fields:
\ref MLDv2ListenerQueryParser
/** \brief MLDv2 Listener report
\par Packet type (typedef):
- \ref MLDv2ListenerReport
+ \ref MLDv2ListenerReport
\par Fields:
\ref MLDv2ListenerReportParser
*/
# include SENF_PARSER()
- SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
- SENF_PARSER_FIELD ( headerLength, UInt8Parser );
- SENF_PARSER_FIELD ( routingType, UInt8Parser ); //set to Zero for minimal implementation
- SENF_PARSER_FIELD_RO ( segmentsLeft, UInt8Parser );
- SENF_PARSER_FIELD ( reserved, UInt32Parser ); //set to zero by RFC
+ SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
+ SENF_PARSER_FIELD ( headerLength, UInt8Parser );
+ SENF_PARSER_FIELD ( routingType, UInt8Parser ); //set to Zero for minimal implementation
+ SENF_PARSER_FIELD_RO ( segmentsLeft, UInt8Parser );
+ SENF_PARSER_FIELD ( reserved, UInt32Parser ); //set to zero by RFC
SENF_PARSER_VECTOR ( hopAddresses, segmentsLeft, INet6AddressParser );
SENF_PARSER_FINALIZE ( IPv6PacketParserExtension_Routing );
struct IPv6PacketParserExtension_HopByHop : public PacketParserBase {
# include SENF_PARSER()
- SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
- SENF_PARSER_FIELD ( headerLength, UInt8Parser );
+ SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
+ SENF_PARSER_FIELD ( headerLength, UInt8Parser );
SENF_PARSER_FINALIZE ( IPv6PacketParserExtension_HopByHop );
};
struct IPv6PacketParserExtension_Destination : public PacketParserBase {
# include SENF_PARSER()
- SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
- SENF_PARSER_FIELD ( headerLength, UInt8Parser );
+ SENF_PARSER_FIELD ( nextHeader, UInt8Parser );
+ SENF_PARSER_FIELD ( headerLength, UInt8Parser );
SENF_PARSER_FINALIZE ( IPv6PacketParserExtension_Destination );
};