From 12ab511f29311f6b51ca537e955e4f37bbb95938 Mon Sep 17 00:00:00 2001 From: mlenders Date: Tue, 14 Jun 2011 19:21:50 +0200 Subject: [PATCH] C6O-Flags defined --- sys/net/sixlowpan/sixlownd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/net/sixlowpan/sixlownd.h b/sys/net/sixlowpan/sixlownd.h index 6825dfbecf..7683db7fec 100644 --- a/sys/net/sixlowpan/sixlownd.h +++ b/sys/net/sixlowpan/sixlownd.h @@ -51,6 +51,8 @@ #define OPT_6CO_MIN_HDR_LEN 16 #define OPT_6CO_MAX_HDR_LEN 24 #define OPT_6CO_LTIME 5 // geeigneten Wert finden +#define OPT_6CO_FLAG_C 0x10 +#define OPT_6CO_FLAG_CID 0x0F /* authoritative border router option */ #define OPT_ABRO_TYPE 33 #define OPT_ABRO_LEN 3 @@ -126,7 +128,7 @@ typedef struct __attribute__ ((packed)) opt_6co_buf_t { uint8_t type; uint8_t length; uint8_t c_length; - uint8_t c_flacs; + uint8_t c_flags; uint16_t reserved2; uint16_t val_ltime; } opt_6co_buf_t;