From c0b3c87ba757b949aadfe20c3fcbc701c3ce192b Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Thu, 12 Dec 2013 22:20:09 +0100 Subject: [PATCH] Make 0 the default link-layer header length, as far as uIP is concerned. Most currently used linke layers (specifically, 802.15.4) has adaptation layers that use separate buffers, so there is no need to reserve space in the uIP buffer. --- core/net/uipopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/uipopt.h b/core/net/uipopt.h index 55fff0ad1..117fb20b5 100644 --- a/core/net/uipopt.h +++ b/core/net/uipopt.h @@ -157,7 +157,7 @@ #ifdef UIP_CONF_LLH_LEN #define UIP_LLH_LEN (UIP_CONF_LLH_LEN) #else /* UIP_LLH_LEN */ -#define UIP_LLH_LEN 14 +#define UIP_LLH_LEN 0 #endif /* UIP_CONF_LLH_LEN */ /**