The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
'FrameSet' data format on the wire

As noted earlier, FrameSets are logical packets. More...

As noted earlier, FrameSets are logical packets.

Here is my current thinking about the layout of frameset data - which is a variant of Type, Length, Value (TLV) entries like those used by LLDP and CDP. Below you will see a number of 2 or 3-byte integers, which are all in network-byte order.

+--------------+
| framesettype | 16 bits
+--------------+
|  fs_length   | 24 bits
+--------------+
|   fsflags    | 16 bits
+--------------+
|  frames...   | "fs_length" bytes
+--------------+

All framesets look like this - but the content of the fs_length bytes worth of frames at the end change. Any given framesettype has a set of expected frames that might be included - some mandatory, some optional. All others would be considered unexpected - and will be ignored.