|
The Assimilation Monitoring Project
|
Class representing an unrecogized or unknown type of frame in a packet - subclass of Frame class. More...
|
Data Structures | |
| struct | _UnknownFrame |
| This is our UnknownFrame class object - for unrecognized Frames. More... | |
Functions | |
| FSTATIC gboolean | _unknownframe_default_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend) |
| UnknownFrame class 'isvalid' member function (always returns FALSE) More... | |
| UnknownFrame * | unknownframe_new (guint16 frame_type) |
| Construct a new UnknownFrame - disallowing for "derived" frame types... More... | |
| Frame * | unknownframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend) |
| Given marshalled data corresponding to an unknown Frame (basic binary frame), return that corresponding Frame In other words, un-marshall the data... More... | |
Class representing an unrecogized or unknown type of frame in a packet - subclass of Frame class.
| FSTATIC gboolean _unknownframe_default_isvalid | ( | const Frame * | self, |
| gconstpointer | tlvptr, | ||
| gconstpointer | pktend | ||
| ) |
UnknownFrame class 'isvalid' member function (always returns FALSE)
| [in] | self | UnknownFrame object ('this') |
| [in] | tlvptr | Pointer to the TLV for this UnknownFrame |
| [in] | pktend | Pointer to one byte past the end of the packet |
Definition at line 42 of file unknownframe.c.
Referenced by unknownframe_new().

| UnknownFrame* unknownframe_new | ( | guint16 | frame_type | ) |
Construct a new UnknownFrame - disallowing for "derived" frame types...
This can be used only for creating UnknownFrame frames.
| [in] | frame_type | TLV type associated with this unknown frame |
Definition at line 55 of file unknownframe.c.
References _unknownframe_default_isvalid(), CASTTOCLASS, frame_new(), _Frame::isvalid, and proj_class_register_subclassed().
Referenced by cma.AssimCclasses.pyUnknownFrame::__init__(), and unknownframe_tlvconstructor().


| Frame* unknownframe_tlvconstructor | ( | gconstpointer | tlvstart, |
| gconstpointer | pktend | ||
| ) |
Given marshalled data corresponding to an unknown Frame (basic binary frame), return that corresponding Frame In other words, un-marshall the data...
Definition at line 70 of file unknownframe.c.
References _UnknownFrame::baseclass, CASTTOCLASS, frame_default_valuefinalize(), get_generic_tlv_len(), get_generic_tlv_type(), get_generic_tlv_value(), _Frame::length, _Frame::setvalue, and unknownframe_new().
Referenced by _decode_packet_framedata_to_frameobject(), and packetdecoder_new().

