About Functions Called by Parser DLLs
The following functions can be called by a parser DLL to perform administrative and functional tasks:
-
AddProperty, which is used to add a PropertyInfo structure to the PropertyDatabase.
-
AttachPropertyInstance, which is used to attach a property instance to a frame.
-
AttachPropertyInstanceEx, which also is used to attach a property to a frame (however, this function creates an additional structure).
-
CreatePropertyDatabase, which is used by a parser to create a property database for describing properties that the parser will use to describe its data.
-
DestroyPropertyDatabase, which is used to destroy a property database created by calls to CreatePropertyDatabase and AddProperty.
-
GetFrameDestinationAddress, which returns a frame destination address.
-
GetFrameSourceAddress, which returns a frame source address.
-
GetProtocolStartOffset, which returns the offset to a specified protocol in the frame.
-
FindPreviousFrame, which finds the previous frame in the current capture context that matches the filter.
-
FindNextFrame, which finds the next frame in the current capture context that matches the filter.
-
FormatPropertyInstance, which formats the property instance in a generic manner.
-
ParserTemporaryLockFrame, which returns a pointer to the first byte of data in the locked frame.