mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Pavel Emelyanov](/assets/img/avatar_default.png)
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>
7 lines
144 B
Makefile
7 lines
144 B
Makefile
#
|
|
# Makefile for the packet AF.
|
|
#
|
|
|
|
obj-$(CONFIG_PACKET) += af_packet.o
|
|
obj-$(CONFIG_PACKET_DIAG) += af_packet_diag.o
|
|
af_packet_diag-y += diag.o
|