Displaying 1 result from an estimated 1 matches for "so_get_info".
Did you mean:
sock_get_info
2004 May 29
0
[Bug 104] Bytes/packets counters sometimes give incorrect values
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=104
------- Additional Comments From gandalf@netfilter.org 2004-05-29 23:45 -------
iptables calls getsockopt() twice, first with SO_GET_INFO which locks the table
in kernel and returns some info and then unlocks the table, among that info is
the size of the table.
Then iptables allocates memory and calls getsockopt() again but with
SO_GET_ENTRIES to get the table, and it passes in the size it got from the first
getsockopt() call. SO_GET...