]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/c/blip/lib6lowpan/6lowpan.h
- move platform-specific constants to blip-platform.h (makes micaz otb)
[tinyos-2.x.git] / support / sdk / c / blip / lib6lowpan / 6lowpan.h
index 81056fe040ea8f1684287c9b359502bcad4ca79e..636c341d9a20e819fcde934ff8efeaec11a0340b 100644 (file)
 #define __6LOWPAN_H__
 
 #include <stdint.h>
+
+#include "blip-platform.h"
 /*
  * Typedefs and static library data.
  */
 typedef uint8_t ip6_addr_t [16];
 typedef uint16_t cmpr_ip6_addr_t;
 #ifdef PC
+#include "../config.h"
 typedef uint16_t ieee154_saddr_t;
 typedef uint16_t hw_pan_t;
 enum {
@@ -184,12 +187,4 @@ struct topology_header_package {
   struct topology_entry topo[0];
 };
 
-enum {
-  IP_NUMBER_FRAGMENTS = 12,
-};
-
-#ifndef BLIP_L2_RETRIES
-#define BLIP_L2_RETRIES 10
-#endif
-
 #endif