]> 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)
commit613b8d0913cdd97524d489f5e374bf925d274f4c
tree267a65f626108423f73ef6dc0040b3b3171f7b45
parent2f2c6e18b0db9db1fdeaa1b828d2e2c8b4f47848
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