]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite254847183d6bdf34a37a3d7f1d4302742e0438a
tree267a65f626108423f73ef6dc0040b3b3171f7b45
parente4520238f46c1f394415c1d74673d5eda8d37c93
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