spinel: Don't use struct in6_addr for spinel_ipv6addr_t (#133)

This struct is not available on most embedded platforms.

This commit addresses issue #121
This commit is contained in:
Robert Quattlebaum
2016-06-11 12:24:33 -07:00
committed by Jonathan Hui
parent e03396282e
commit 89bf118aaf
+5 -2
View File
@@ -32,7 +32,6 @@
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#include <arpa/inet.h>
__BEGIN_DECLS
@@ -179,7 +178,11 @@ typedef struct
uint8_t bytes[6];
} spinel_eui48_t;
typedef struct in6_addr spinel_ipv6addr_t;
typedef struct
{
uint8_t bytes[16];
} spinel_ipv6addr_t;
typedef int spinel_ssize_t;
typedef unsigned int spinel_size_t;
typedef uint8_t spinel_tid_t;