2014-06-18 19:45:55 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-06-18 19:45:55 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
menu "Raw Socket Support"
|
|
|
|
|
|
|
|
config NET_PKT
|
|
|
|
bool "Socket packet socket support"
|
|
|
|
default n
|
2017-07-14 21:42:31 +02:00
|
|
|
depends on NET_ETHERNET || EXPERIMENTAL
|
2018-06-25 20:08:10 +02:00
|
|
|
select NETDEV_IFINDEX
|
2014-06-18 19:45:55 +02:00
|
|
|
---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 17:31:44 +02: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-18 19:45:55 +02:00
|
|
|
|
2017-07-14 21:42:31 +02:00
|
|
|
REVISIT: Currently only implemented for Ethernet.
|
|
|
|
|
2014-06-18 19:45:55 +02:00
|
|
|
if NET_PKT
|
|
|
|
|
|
|
|
config NET_PKT_CONNS
|
|
|
|
int "Max packet sockets"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
endif # NET_PKT
|
2014-06-25 19:01:08 +02:00
|
|
|
endmenu # Raw Socket Support
|