net: ip: Allow user to select number of UDP connections
Earlier default was 10, new default is 2. Change-Id: I938449d840a244a13e9b9b954648577b76db00bc Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
e56f701a04
commit
a2004cc70f
2 changed files with 10 additions and 0 deletions
|
@ -79,6 +79,12 @@ config NET_MAX_CONTEXTS
|
||||||
It defines a network endpoint and number of context depends
|
It defines a network endpoint and number of context depends
|
||||||
on application usage.
|
on application usage.
|
||||||
|
|
||||||
|
config UDP_MAX_CONNECTIONS
|
||||||
|
int "How many UDP connections can be used"
|
||||||
|
default 2
|
||||||
|
help
|
||||||
|
Amount of concurrent UDP connections.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Internet Protocol version"
|
prompt "Internet Protocol version"
|
||||||
depends on NETWORKING
|
depends on NETWORKING
|
||||||
|
|
|
@ -239,4 +239,8 @@ typedef unsigned int uip_stats_t;
|
||||||
#define UIP_CONF_LLH_LEN 14
|
#define UIP_CONF_LLH_LEN 14
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_UDP_MAX_CONNECTIONS)
|
||||||
|
#define UIP_CONF_UDP_CONNS CONFIG_UDP_MAX_CONNECTIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __CONTIKI_CONF_H__ */
|
#endif /* __CONTIKI_CONF_H__ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue