blob: 3bcf05cbd7591f924d8845895172e89c8edb57f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _IPFIX_PROTOCOL_H
#define _IPFIX_PROTOCOL_H
/* This header file defines structures for the IPFIX protocol in accordance with
* draft-ietf-ipfix-protocol-03.txt */
/* Section 8.1 */
struct ipfix_msg_hdr {
u_int16_t version;
u_int16_t length;
u_int32_t export_time;
u_int32_t seq;
u_int32_t source_id;
};
/* Section 8.2 */
struct ipfix_ietf_field {
u_int16_t type;
u_int16_t length;
};
struct ipfix_vendor_field {
u_int16_t type;
u_int16_t length;
u_int32_t enterprise_num;
};
#endif
|