The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
C-Class AddrFrame wire format

Here is the format we use for packaging an AddrFrame class for the wire. More...

Collaboration diagram for C-Class AddrFrame wire format:

Here is the format we use for packaging an AddrFrame class for the wire.

Note that different types of addresses are different lengths. The address types are as per the IANA Address Family numbering scheme.

+----------—+-------------—+---------------—+-----------------—+
| frametype   |    f_length    | Address Type     |    address-data    |
|  16 bits)   |    (16-bits)   |    2 bytes       | (f_length-2 bytes) |
+----------—+-------------—+---------------—+-----------------—+