net: ipv6: Allow user to select number of neighbors
Earlier default was 8, new default is 4. Change-Id: I99c9d2aae465fd0feb968efa7417cd28bafd73b8 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
798d3511c1
commit
655eb4b75e
2 changed files with 13 additions and 0 deletions
|
@ -127,6 +127,15 @@ config NETWORKING_IPV6_NO_ND
|
||||||
Normally ND should be enabled but in order to simplify
|
Normally ND should be enabled but in order to simplify
|
||||||
the network setup it can be turned off if using
|
the network setup it can be turned off if using
|
||||||
slip and tun device.
|
slip and tun device.
|
||||||
|
|
||||||
|
config NETWORKING_MAX_NEIGHBORS
|
||||||
|
int "Max number of neighbors"
|
||||||
|
depends on NETWORKING
|
||||||
|
depends on NETWORKING_WITH_IPV6
|
||||||
|
default 4
|
||||||
|
help
|
||||||
|
Specifies the maximum number of neighbors that each node will
|
||||||
|
be able to handle.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config NETWORKING_WITH_TCP
|
config NETWORKING_WITH_TCP
|
||||||
|
|
|
@ -247,4 +247,8 @@ typedef unsigned int uip_stats_t;
|
||||||
#define UIP_CONF_MAX_CONNECTIONS CONFIG_TCP_MAX_CONNECTIONS
|
#define UIP_CONF_MAX_CONNECTIONS CONFIG_TCP_MAX_CONNECTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_NETWORKING_MAX_NEIGHBORS)
|
||||||
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS CONFIG_NETWORKING_MAX_NEIGHBORS
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __CONTIKI_CONF_H__ */
|
#endif /* __CONTIKI_CONF_H__ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue