Merged in masayuki2009/nuttx.nuttx/change_udp_broadcast (pull request #954)
net/udp: Remove net stack dependency from CONFIG_NET_BROADCAST This change allows us to use CONFIG_NET_BROADCAST without network stack. (i.e. usrsock application can use broadcast) Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
f0b74380a5
commit
5fd5cc0b0a
@ -19,6 +19,16 @@ config NET_UDP_NO_STACK
|
||||
---help---
|
||||
Build without UDP/IP stack even if UDP networking support enabled.
|
||||
|
||||
if NET_UDP
|
||||
|
||||
config NET_BROADCAST
|
||||
bool "UDP broadcast Rx support"
|
||||
default n
|
||||
---help---
|
||||
Incoming UDP broadcast support
|
||||
|
||||
endif # NET_UDP
|
||||
|
||||
if NET_UDP && !NET_UDP_NO_STACK
|
||||
|
||||
config NET_UDP_BINDTODEVICE
|
||||
@ -45,12 +55,6 @@ config NET_UDP_CONNS
|
||||
---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_UDP_READAHEAD
|
||||
bool "Enable UDP/IP read-ahead buffering"
|
||||
default y
|
||||
|
Loading…
Reference in New Issue
Block a user