From 42871faffc456900e1662b0c9baf0a9bee806cfb Mon Sep 17 00:00:00 2001 From: Stephan Zeisberg Date: Wed, 6 Oct 2010 17:55:31 +0200 Subject: [PATCH] added set_ipv6_method fuction(not implemented yes) --- sys/net/sixlowpan.c | 4 ++++ sys/net/sixlowpan.h | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/sys/net/sixlowpan.c b/sys/net/sixlowpan.c index 0e0814ae01..7a099c0f69 100644 --- a/sys/net/sixlowpan.c +++ b/sys/net/sixlowpan.c @@ -35,3 +35,7 @@ static eui64 get_eui64_from_mac(void){ return ident; } + +static void set_6lowpan_address(uint64_t prefix){ + +} diff --git a/sys/net/sixlowpan.h b/sys/net/sixlowpan.h index cf2545bab7..14cbca8f8c 100644 --- a/sys/net/sixlowpan.h +++ b/sys/net/sixlowpan.h @@ -13,4 +13,9 @@ typedef struct eui64{ uint16_t pattern; uint8_t ext_ident_1; uint16_t ext_ident_2; -} eui64; +} eui64; + +typedef struct ipv6_addr{ + uint16_t prefix[4]; + eui64 interface_id; +} ipv6_addr;