diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2012-08-13 07:53:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-15 01:56:33 +0200 |
commit | 96ec6327144e1ac9e6676e34fae8b49c2102fa5a (patch) | |
tree | 1c2e914c7bbd573db850f2cf340b2e49226df8a0 /kernel/up.c | |
parent | packet: Introduce net/packet/internal.h header (diff) | |
download | linux-96ec6327144e1ac9e6676e34fae8b49c2102fa5a.tar.xz linux-96ec6327144e1ac9e6676e34fae8b49c2102fa5a.zip |
packet: Diag core and basic socket info dumping
The diag module can be built independently from the af_packet.ko one,
just like it's done in unix sockets.
The core dumping message carries the info available at socket creation
time, i.e. family, type and protocol (in the same byte order as shown in
the proc file).
The socket inode number and cookie is reserved for future per-socket info
retrieving. The per-protocol filtering is also reserved for future by
requiring the sdiag_protocol to be zero.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions