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