summaryrefslogtreecommitdiff
path: root/nuttx/net/pkt
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-18 11:45:55 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-18 11:45:55 -0600
commit56d7e426224f06945792dd870e1f744f0c00837d (patch)
tree519d4e115fc2c9d6262d20617be788c711b89d64 /nuttx/net/pkt
parent3c2155170f37674c09d4bc7aba33e1aa66edb643 (diff)
downloadnuttx-56d7e426224f06945792dd870e1f744f0c00837d.tar.gz
nuttx-56d7e426224f06945792dd870e1f744f0c00837d.tar.bz2
nuttx-56d7e426224f06945792dd870e1f744f0c00837d.zip
Networking: Move relevant parts of net/Kconfig to tcp/Kconfig, udp/Kconfig, and pkt/Kconfig
Diffstat (limited to 'nuttx/net/pkt')
-rw-r--r--nuttx/net/pkt/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/nuttx/net/pkt/Kconfig b/nuttx/net/pkt/Kconfig
new file mode 100644
index 000000000..a0299ad17
--- /dev/null
+++ b/nuttx/net/pkt/Kconfig
@@ -0,0 +1,27 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+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
+ a packet socket tap before they enter uIP. Data written into a
+ packet socket will bypass uIP altogether and be placed in the
+ transmission buffer of the network interface driver.
+
+if NET_PKT
+
+config NET_PKT_CONNS
+ int "Max packet sockets"
+ default 1
+
+endif # NET_PKT
+endmenu # PRaw Socket Support