2014-06-19 01:45:55 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-06-19 01:45:55 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menu "Raw Socket Support"
|
|
|
|
|
|
|
|
config NET_PKT
|
|
|
|
bool "Socket packet socket support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable support for packet sockets.
|
|
|
|
|
|
|
|
Packet sockets allow receiving and transmitting frames without
|
|
|
|
a transport protocol in between. Frames received are copied into
|
2016-05-30 23:31:44 +08:00
|
|
|
a packet socket tap before they enter the network. Data written into
|
|
|
|
a packet socket will bypass the network altogether and be placed in
|
|
|
|
the transmission buffer of the network interface driver.
|
2014-06-19 01:45:55 +08:00
|
|
|
|
|
|
|
if NET_PKT
|
|
|
|
|
|
|
|
config NET_PKT_CONNS
|
|
|
|
int "Max packet sockets"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
endif # NET_PKT
|
2014-06-26 01:01:08 +08:00
|
|
|
endmenu # Raw Socket Support
|