[riot-notifications] [RIOT] Refactor 6LoWPAN module (#133)

Martin Lenders notifications at github.com
Wed Aug 14 15:38:49 CEST 2013


> +#define ABR_CACHE_SIZE                 	(2)
> +/* neighbor cache size */
> +#define NBR_CACHE_SIZE                 	(8)
> +#define NBR_CACHE_TYPE_GC              	(1)
> +#define NBR_CACHE_TYPE_REG             	(2)
> +#define NBR_CACHE_TYPE_TEN             	(3)
> +#define NBR_CACHE_LTIME_TEN            	(20)
> +/* neighbor status values */
> +#define NBR_STATUS_INCOMPLETE          	(0)
> +#define NBR_STATUS_REACHABLE           	(1)
> +#define NBR_STATUS_STALE               	(2)
> +#define NBR_STATUS_DELAY               	(3)
> +#define NBR_STATUS_PROBE               	(4)
> +/* default router list size */
> +#define DEF_RTR_LST_SIZE                   	(3) /* geeigneten wert finden */
> +

Since most of them are only used in the C file and are not needed elsewhere, no. But NBR_CACHE_TYPE_* and NBR_STATUS_* do not belong here since they are used by the publicly available ndp_neighbor_cache_t and its functions, that is right.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/133/files#r5763327
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130814/6e7167b3/attachment.html>


More information about the notifications mailing list