Add x-late src/dst ip aggregation, if compiled with NSEL support

This commit is contained in:
Peter Haag 2017-12-21 16:32:08 +01:00
parent f1b91aaad7
commit adfd5e9631
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2017-12-21
- Add x-late src/dst ip aggregation, if compiled with NSEL support
2017-12-17
- Add ipfix sampling. Process option template/record with sampling elements 34 and 35
- Report updates on existing samplers in v9 only if values change. issue 84

View File

@ -115,6 +115,12 @@ static struct aggregate_info_s {
{ "srcip", { 8, OffsetSrcIPv6b, MaskIPv6, ShiftIPv6 }, -1, 0, NULL },
{ "dstip", { 8, OffsetDstIPv6a, MaskIPv6, ShiftIPv6 }, -1, 0, "%da" },
{ "dstip", { 8, OffsetDstIPv6b, MaskIPv6, ShiftIPv6 }, -1, 0, NULL },
#ifdef NSEL
{ "xsrcip", { 8, OffsetXLATESRCv6a, MaskIPv6, ShiftIPv6 }, -1, 0, "%xsa" },
{ "xsrcip", { 8, OffsetXLATESRCv6b, MaskIPv6, ShiftIPv6 }, -1, 0, NULL },
{ "xdstip", { 8, OffsetXLATEDSTv6a, MaskIPv6, ShiftIPv6 }, -1, 0, "%xda" },
{ "xdstip", { 8, OffsetXLATESRCv6b, MaskIPv6, ShiftIPv6 }, -1, 0, NULL },
#endif
{ "dstip4", { 8, OffsetDstIPv6a, MaskIPv6, ShiftIPv6 }, 0, 0, "%da" },
{ "dstip4", { 8, OffsetDstIPv6b, MaskIPv6, ShiftIPv6 }, 1, 0, NULL },
{ "dstip6", { 8, OffsetDstIPv6a, MaskIPv6, ShiftIPv6 }, 0, 0, "%da" },

View File

@ -206,6 +206,10 @@ mpls9 MPLS label 9
mpls10 MPLS label 10
.br
router Exporting router IP
.br
xsrcip X-late source IP address, if compiled with NSEL support
.br
xdstip X-late destination IP address, if compiled with NSEL support
.RE
.RS 3
.P