Поделиться через


Parser Structures

This section describes structures you can use to develop parsers. These structures are used by functions you can use to develop parsers and functions you can use to develop either parsers or experts.

Structure Description
MACFRAME Defines the most commonly used initial protocols.
ENTRYPOINTS Specifies pointers to the entry points for the Parser DLL.
PF_FOLLOWENTRY Specifies the protocol that follows the current protocol.
PF_FOLLOWSET Specifies the set of protocols that follows the current protocol.
PF_HANDOFFENTRY Specifies either the protocol that hands off to the current protocol or the protocol that the current protocol hands off to.
PF_HANDOFFSET Specifies the set of protocols that hand off to the current protocol or the set of protocols the current protocol hands off to.
PF_PARSERDLLINFO Specifies the number of parsers in the parser DLL and information about each parser.
PF_PARSERINFO Specifies information about a specific parser.
LABELED_BIT Specifies handles, BIT fields, or flags.
LABELED_BYTE Specifies a BYTE label pair.
LABELED_DWORD Specifies a DWORD label pair.
LABELED_WORD Specifies a WORD label pair.
PROPERTYINFO Specifies the properties that the protocol parser requires to describe frames.
PROPERTYINST Specifies an instance of a property in a frame.
PROPERTYINSTEX Specifies a free-form, extended property instance.
PROTOCOLINFO Specifies a protocol.
RANGE Specifies a range for a number.
SET Specifies a table of values for a property.

For information about functions used to develop parser DLLs, see the following topics.

For information about See
Functions that the parser DLLs export. Parser DLL Export Functions
Functions that you can use to develop parser DLLs. Parser Functions
Functions that you can use to develop parser and expert DLLs. Expert and Parser Common Functions