Search code examples
c++linuxnetlink

frequency of netlink messages


I am using the inet_diag module and libpcap to get the uid of the user who accessed the url I captured using libpcap. As there may be many urls captured per second, I was wondering if there was a limit to how many netlink msgs should be sent per second, and if I should cache and occasionally refresh, or blithely send a msg every time a url is captured.


Solution

  • Such a limit would be artifical - no real reason to have it. Just send as many as you need.