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 "UDP Networking"
|
|
|
|
|
|
|
|
config NET_UDP
|
|
|
|
bool "UDP Networking"
|
|
|
|
default n
|
|
|
|
depends on NET
|
|
|
|
---help---
|
|
|
|
Enable or disable UDP networking support.
|
|
|
|
|
2017-03-31 16:58:14 +02:00
|
|
|
config NET_UDP_NO_STACK
|
|
|
|
bool "Disable UDP/IP Stack"
|
|
|
|
default n
|
|
|
|
select NET_UDP
|
|
|
|
---help---
|
|
|
|
Build without UDP/IP stack even if UDP networking support enabled.
|
|
|
|
|
|
|
|
if NET_UDP && !NET_UDP_NO_STACK
|
2014-06-18 19:45:55 +02:00
|
|
|
|
|
|
|
config NET_UDP_CHECKSUMS
|
|
|
|
bool "UDP checksums"
|
2015-01-23 16:31:44 +01:00
|
|
|
default y if NET_IPv6
|
|
|
|
default n if !NET_IPv6
|
2014-06-18 19:45:55 +02:00
|
|
|
---help---
|
2015-01-23 16:31:44 +01:00
|
|
|
Enable/disable UDP checksum support. UDP checksum support is
|
|
|
|
REQUIRED for IPv6.
|
2014-06-18 19:45:55 +02:00
|
|
|
|
|
|
|
config NET_UDP_CONNS
|
|
|
|
int "Number of UDP sockets"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
The maximum amount of open concurrent UDP sockets
|
|
|
|
|
|
|
|
config NET_BROADCAST
|
|
|
|
bool "UDP broadcast Rx support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Incoming UDP broadcast support
|
|
|
|
|
|
|
|
config NET_RXAVAIL
|
|
|
|
bool "Driver-based UDP backlog"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
One problem with UDP communications is that, unlike TCP/IP, there is
|
|
|
|
no backlog of UDP packets. So if you are listening at the precise
|
|
|
|
moment that the UDP packet is sent, it will not be received. This
|
|
|
|
is not incompatible with the properties of UDP, but can result in
|
|
|
|
bad performance if packets are missed, time out, and are resent.
|
|
|
|
|
|
|
|
Some Ethernet controllers have built-in RAM and the drivers can
|
|
|
|
support retention of UDP packets in that RAM. If the drivers
|
|
|
|
supports such a capability, this option may be enabled to use it.
|
|
|
|
NOTE: If this option is enabled, the driver must support the
|
2014-06-28 00:48:12 +02:00
|
|
|
rxavail() method in the net_driver_s structure.
|
2014-06-18 19:45:55 +02:00
|
|
|
|
2015-01-30 13:08:26 +01:00
|
|
|
config NET_UDP_READAHEAD
|
|
|
|
bool "Enable UDP/IP read-ahead buffering"
|
|
|
|
default y
|
2017-04-20 22:53:30 +02:00
|
|
|
select DRIVERS_IOB
|
2015-01-30 13:08:26 +01:00
|
|
|
|
2017-03-31 16:58:14 +02:00
|
|
|
endif # NET_UDP && !NET_UDP_NO_STACK
|
2014-06-18 19:45:55 +02:00
|
|
|
endmenu # UDP Networking
|