sock_diag: Initial skeleton
authorPavel Emelyanov <xemul@parallels.com>
Tue, 6 Dec 2011 07:58:03 +0000 (07:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:58:01 +0000 (13:58 -0500)
commitd366477a52f1df29fa066ffb18e4e6101ee2ad04
tree267a65f626108423f73ef6dc0040b3b3171f7b45
parentf13c95f0e255e6d21762259875295cc212e6bc32
sock_diag: Initial skeleton

When receiving the SOCK_DIAG_BY_FAMILY message we have to find the
handler for provided family and pass the nl message to it.

This patch describes an infrastructure to work with such nandlers
and implements stubs for AF_INET(6) ones.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sock_diag.h [new file with mode: 0644]
net/ipv4/inet_diag.c