Add support for packetInterval and packetSpace to configure sampling rate
Fixes #440 Implement sampling rate calculation based on PacketSpace and PacketInterval fields. Remove unused methods.
What a coincidence that you implemented this recently! I was just looking into this issue with the Nokia devices.
I tested your branch (at bbdfb9e07e43748906c386617e242d78c009a765) and it works as expected with the Nokia-IPFIX I have at hand.
Will have a look. Thank you for the suggestion
Remove unused methods.
please keep in mind that these are public functions that can be used by other tools importing the library. this could introduce bad surprise/breaking changes.
please keep in mind that these are public functions that can be used by other tools importing the library. this could introduce bad surprise/breaking changes.
My bad, I've restored the deleted functions.