SENF Extensible Network Framework
Go to the documentation of this file. 17 #ifndef HH_SENF_Packets_ParseHelpers_ 18 #define HH_SENF_Packets_ParseHelpers_ 1 20 #ifndef HH_SENF_Packets_Packets_ 21 #error "Don't include 'ParseHelpers.hh' directly, include 'Packets.hh'" 293 #define SENF_FIXED_PARSER() SENF_ABSOLUTE_INCLUDE_PATH(Packets/parse_fixed_setup.hh) 310 #define SENF_PARSER() SENF_ABSOLUTE_INCLUDE_PATH(Packets/parse_setup.hh) 331 #define SENF_PARSER_INIT() void init(int) const 354 #define SENF_PARSER_INHERIT(base) 378 #define SENF_PARSER_FINALIZE(name) 418 #define SENF_PARSER_FIELD(name, type) 433 #define SENF_PARSER_FIELD_RO(name, type) 443 #define SENF_PARSER_PRIVATE_FIELD(name, type) 474 #define SENF_PARSER_CUSTOM_FIELD(name, type, size) 506 #define SENF_PARSER_BITFIELD(name, bits, type) 515 #define SENF_PARSER_BITFIELD_RO(name, bits, type) 525 #define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type) 551 #define SENF_PARSER_SKIP(skip) 561 #define SENF_PARSER_SKIP_BITS(bits) 577 #define SENF_PARSER_GOTO(name) 595 #define SENF_PARSER_GOTO_OFFSET(offset) 610 #define SENF_PARSER_LABEL(name) 623 #define SENF_PARSER_OFFSET(name) 639 #define SENF_PARSER_FIXED_OFFSET(name) 654 #define SENF_PARSER_CURRENT_FIXED_OFFSET() 660 #define SENF_PARSER_INHERIT BOOST_PP_CAT( SENF_PARSER_INHERIT_, SENF_PARSER_TYPE ) 662 #define SENF_PARSER_FIELD BOOST_PP_CAT( SENF_PARSER_FIELD_, SENF_PARSER_TYPE ) 663 #define SENF_PARSER_FIELD_RO BOOST_PP_CAT( SENF_PARSER_FIELD_RO_, SENF_PARSER_TYPE ) 664 #define SENF_PARSER_BITFIELD BOOST_PP_CAT( SENF_PARSER_BITFIELD_, SENF_PARSER_TYPE ) 665 #define SENF_PARSER_BITFIELD_RO BOOST_PP_CAT( SENF_PARSER_BITFIELD_RO_, SENF_PARSER_TYPE ) 666 #define SENF_PARSER_CUSTOM_FIELD BOOST_PP_CAT( SENF_PARSER_CUSTOM_FIELD_, SENF_PARSER_TYPE ) 668 #define SENF_PARSER_PRIVATE_FIELD BOOST_PP_CAT( SENF_PARSER_P_FIELD_, SENF_PARSER_TYPE ) 669 #define SENF_PARSER_PRIVATE_BITFIELD BOOST_PP_CAT( SENF_PARSER_P_BITFIELD_, SENF_PARSER_TYPE ) 671 #define SENF_PARSER_SKIP BOOST_PP_CAT( SENF_PARSER_SKIP_, SENF_PARSER_TYPE ) 672 #define SENF_PARSER_SKIP_BITS BOOST_PP_CAT( SENF_PARSER_SKIP_BITS_, SENF_PARSER_TYPE ) 673 #define SENF_PARSER_GOTO BOOST_PP_CAT( SENF_PARSER_GOTO_, SENF_PARSER_TYPE ) 674 #define SENF_PARSER_GOTO_OFFSET BOOST_PP_CAT( SENF_PARSER_GOTO_OFFSET_, SENF_PARSER_TYPE ) 675 #define SENF_PARSER_LABEL BOOST_PP_CAT( SENF_PARSER_LABEL_, SENF_PARSER_TYPE ) 677 #define SENF_PARSER_OFFSET BOOST_PP_CAT( SENF_PARSER_OFFSET_, SENF_PARSER_TYPE ) 678 #define SENF_PARSER_FIXED_OFFSET BOOST_PP_CAT( SENF_PARSER_FIXED_OFFSET_, SENF_PARSER_TYPE ) 679 #define SENF_PARSER_CURRENT_FIXED_OFFSET BOOST_PP_CAT( SENF_PARSER_CURRENT_FIXED_OFFSET_, SENF_PARSER_TYPE ) 681 #define SENF_PARSER_FINALIZE BOOST_PP_CAT( SENF_PARSER_FINALIZE_, SENF_PARSER_TYPE ) 689 #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_ParseHelpers_i_) 690 #define HH_SENF_Packets_ParseHelpers_i_