Type-Length-Value:
 |
This concept is used in headers of protocol headers as well as the body of a packet, and by different layers of a networking the source and the other for the destination. |
 |
First, for each receiving end to interpret properly, the source and the destination address must be listed in the same order in the header. |
 |
Second, such information has a well-defined structure: it is of a certain type (IP address, in this case), it is of certain length (32 bits in this case), and it contains a value (the actual IP address). |
 |
In many instances, the length may vary, or the type is preferred to be left open for future extensions of a protocol. |
Network Protocol Analyzer:
 |
Packet formats for networking protocols are described in standards documents by respective standards bodies. |
 |
Many details about what a protocol can do lie in the header of a packet. Just by looking at a packet format and reading a standards document, it is still difficult to grasp. |
 |
Network protocol analyzers are used to capture packets from live networks. By studying headers captured through such analyzers, it is often easier to understand a packet header, and more important, a protocol. |