From 44e5d8cfd0c2c3be34db1c8d2baefe32865e6527 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Tue, 1 Jul 2014 18:31:40 +0200 Subject: [PATCH] nativenet: change max packet size to 127 Real IEEE 802.15.4 transceivers have a payload of 127. Hence, for testing - particular 6lowpan - it would make sense to have the same limitation in nativenet. Especially to test fragmentation this is helpful. --- cpu/native/include/nativenet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/native/include/nativenet.h b/cpu/native/include/nativenet.h index 4c3c89c596..a8946d1346 100644 --- a/cpu/native/include/nativenet.h +++ b/cpu/native/include/nativenet.h @@ -33,7 +33,7 @@ #ifndef NATIVE_MAX_DATA_LENGTH #include "tap.h" #ifdef MODULE_SIXLOWPAN -#define NATIVE_MAX_DATA_LENGTH (255) +#define NATIVE_MAX_DATA_LENGTH (127) #else #define NATIVE_MAX_DATA_LENGTH (TAP_MAX_DATA) #endif