mirror of
https://github.com/espressif/openthread.git
synced 2026-09-08 02:00:12 +00:00
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:
committed by
Jonathan Hui
parent
e03396282e
commit
89bf118aaf
+5
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user