Creation of Cybook 2416 (actually Gen4) repository
This commit is contained in:
26
net/packet/Kconfig
Normal file
26
net/packet/Kconfig
Normal file
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# Packet configuration
|
||||
#
|
||||
|
||||
config PACKET
|
||||
tristate "Packet socket"
|
||||
---help---
|
||||
The Packet protocol is used by applications which communicate
|
||||
directly with network devices without an intermediate network
|
||||
protocol implemented in the kernel, e.g. tcpdump. If you want them
|
||||
to work, choose Y.
|
||||
|
||||
To compile this driver as a module, choose M here: the module will
|
||||
be called af_packet.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
config PACKET_MMAP
|
||||
bool "Packet socket: mmapped IO"
|
||||
depends on PACKET
|
||||
help
|
||||
If you say Y here, the Packet protocol driver will use an IO
|
||||
mechanism that results in faster communication.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
5
net/packet/Makefile
Normal file
5
net/packet/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Makefile for the packet AF.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_PACKET) += af_packet.o
|
||||
1986
net/packet/af_packet.c
Normal file
1986
net/packet/af_packet.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user