cflowd Version 5 Formats and Fields
A detailed explanation of cflowd version 5 packet formats and fields is shown in the following figures and tables:
- Figure 11, "cflowd Version 5 Packet Header Format" on page 111
- Table 15, "cflowd Export Version 5 Packet Header Fields"
- Figure 12, "cflowd Version 5 Flow-Export Flow Header Format" on page 112
- Table 16, "cflowd Export Version 5 Flow-Export Flow Header Fields"
![]()
![]()
Table 16: cflowd Export Version 5 Flow-Export Flow Header Fields
The ICMP type is placed in the high-order byte and the ICMP type code is placed in the low-order byte of this field (see Note on page "In the two-byte destination port field of the cflowd export version 5 flow-export flow format, the following information can be derived:")Useful formulas for cflowd are:
- start flow timestamp absolute = unixTime x 1000 - (sysUptime - start flow timestamp)
- end flow timestamp absolute = unixTime x 1000 - (sysUptime - end flow timestamp)
In the two-byte destination port field of the cflowd export version 5 flow-export flow format, the following information can be derived:
For example, if the ICMP type is 3 (00000011 in binary) and the ICMP type code is network unreachable (Type Code 0, or 00000000 in binary), the resulting destination port field value is 00000011 00000000 (768 in decimal).
For more information on ICMP type and type code, see RFC 792 at
http://www.ietf.org.