diff options
author | Ander Juaristi <a@juaristi.eus> | 2019-04-26 09:58:07 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-04-30 14:11:54 +0200 |
commit | cc919f7013d2d76c8bef0b9c562c1faf98a095a3 (patch) | |
tree | a9d3a14896b685d4602d18db29f547d56c0463ed /include | |
parent | 4f639231c83b09ea004c03e95c702b7750bf9930 (diff) |
IPFIX: Introduce template record support
This commit adds the ability to send template records
to the remote collector.
In addition, it also introduces a new
configuration parameter 'send_template', which tells when template
records should be sent. It accepts the following string values:
- "once": Send the template record only the first time (might be coalesced
with data records).
- "always": Send the template record always, with every data record that is sent
to the collector (multiple data records might be sent together).
- "never": Assume the collector knows the schema already. Do not send template records.
If omitted, the default value for 'send_template' is "once".
Signed-off-by: Ander Juaristi <a@juaristi.eus>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ulogd/ipfix_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ulogd/ipfix_protocol.h b/include/ulogd/ipfix_protocol.h index aef47f0..01dd96a 100644 --- a/include/ulogd/ipfix_protocol.h +++ b/include/ulogd/ipfix_protocol.h @@ -129,6 +129,7 @@ enum { /* reserved */ IPFIX_fragmentOffsetIPv4 = 88, /* reserved */ + IPFIX_applicationId = 95, IPFIX_bgpNextAdjacentAsNumber = 128, IPFIX_bgpPrevAdjacentAsNumber = 129, IPFIX_exporterIPv4Address = 130, |