|
The Assimilation Monitoring Project
|
Class for compressing FrameSets Subclass of Frame class. More...
|
Functions | |
| FSTATIC gboolean | _compressframe_default_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend) |
| CompressFrame class 'isvalid' member function (checks for valid compression method). More... | |
| CompressFrame * | compressframe_new (guint16 frame_type, guint16 compression_method) |
| Construct a new CompressFrame - derived frame types are not allowed. More... | |
| WINEXPORT Frame * | compressframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend) |
| Given marshalled packet data corresponding to an CompressFrame (C-style string), return the corresponding Frame In other words, un-marshall the data... More... | |
| typedef struct _CompressFrame | CompressFrame |
Class for compressing FrameSets Subclass of Frame class.
| typedef struct _CompressFrame CompressFrame |
Definition at line 31 of file compressframe.h.
| FSTATIC gboolean _compressframe_default_isvalid | ( | const Frame * | self, |
| gconstpointer | tlvptr, | ||
| gconstpointer | pktend | ||
| ) |
CompressFrame class 'isvalid' member function (checks for valid compression method).
| [in] | self | CompressFrame object ('this') |
| [in] | tlvptr | Pointer to the TLV for this CompressFrame |
| [in] | pktend | Pointer to one byte past the end of the packet |
Definition at line 45 of file compressframe.c.
References CASTTOCONSTCLASS, and _CompressFrame::compression_method.
Referenced by compressframe_new().

| CompressFrame* compressframe_new | ( | guint16 | frame_type, |
| guint16 | compression_method | ||
| ) |
Construct a new CompressFrame - derived frame types are not allowed.
| frame_type | TLV type of CompressFrame |
| compression_method | Compression method. |
Definition at line 62 of file compressframe.c.
References _compressframe_default_isvalid(), CASTTOCLASS, _CompressFrame::compression_method, frame_new(), _Frame::isvalid, and proj_class_register_subclassed().

Given marshalled packet data corresponding to an CompressFrame (C-style string), return the corresponding Frame In other words, un-marshall the data...
| [in] | tlvstart | Start of marshalled CStringFrame data |
| [in] | pktend | Pointer to first invalid byte past 'tlvstart' |
Definition at line 82 of file compressframe.c.
References get_generic_tlv_len(), get_generic_tlv_type(), and get_generic_tlv_value().
