]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
udp_diag: Implement the dump-all functionality
authorPavel Emelyanov <xemul@parallels.com>
Fri, 9 Dec 2011 06:24:21 +0000 (06:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 19:15:00 +0000 (14:15 -0500)
commitb6d640c2286d16b15a21a4475c896cdce6a0bbe0
tree01f55007bfb8c680a4689d6e6f312f22f28adec3
parenta925aa00a55e3b72bd38bfdd3d6f97c0d900c949
udp_diag: Implement the dump-all functionality

Do the same as TCP does -- iterate the given udp_table, filter
sockets with bytecode and dump sockets into reply message.

The same filtering as for TCP applies, though only some of the
state bits really matter.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_diag.c