Commit d2c0ba3a authored by Håvard Moås's avatar Håvard Moås
Browse files

Update IPFIXLIB to try to make bitrate averaging work better, havard.mork@gmail.com

git-svn-id: file:///home/svn/mapi/branches/haavardm-mapi@47 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 4a9a13f8
......@@ -790,12 +790,12 @@ void addPktToHash(np_ctxt_t *npctxt,
bkt->dst2srcRateMax10ms = 0;
bkt->dst2srcRateMin10ms = MAX_UINT32;
bkt->src2dstBitrateAverager1secPos = 0;
bkt->dst2srcBitrateAverager1secPos = 0;
bkt->src2dstBitrateAverager100msPos = 0;
bkt->dst2srcBitrateAverager100msPos = 0;
bkt->src2dstBitrateAverager10msPos = 0;
bkt->dst2srcBitrateAverager10msPos = 0;
bkt->src2dstBitrateAverager1secPos = BITRATE_AVERAGER_SLOTS;
bkt->dst2srcBitrateAverager1secPos = BITRATE_AVERAGER_SLOTS;
bkt->src2dstBitrateAverager100msPos = BITRATE_AVERAGER_SLOTS;
bkt->dst2srcBitrateAverager100msPos = BITRATE_AVERAGER_SLOTS;
bkt->src2dstBitrateAverager10msPos = BITRATE_AVERAGER_SLOTS;
bkt->dst2srcBitrateAverager10msPos = BITRATE_AVERAGER_SLOTS;
bkt->src2dstMinPktSize = bkt->dst2srcMinPktSize = 0xFFFF;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment