diff options
-rw-r--r-- | data_structures | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/data_structures b/data_structures index 1920773..ea1f74b 100644 --- a/data_structures +++ b/data_structures @@ -1,19 +1,19 @@ -struct ipv6 { +struct sda6 { union { struct in6_addr addr; - u_int8_t addr8[16]; // To be removed (I hope) + u_int8_t addr8[16]; // To be removed (I hope) u_int32_t addr32[4]; - } _ipv6; -#define addr8 _ipv6.addr8 -#define addr32 _ipv6.addr32 + } _sda6; +#define addr8 _sda6.addr8 +#define addr32 _sda6.addr32 }; struct cidr { sa_family_t ai_family; union { u_int32_t addr4; - struct ipv6 addr6; + struct sda6 addr6; } _addr; u_int8_t bits; }; @@ -22,7 +22,7 @@ struct bl { sa_family_t ai_family; union { u_int32_t addr4; - struct ipv6 addr6; + struct sda6 addr6; } _addr; int8_t b; int8_t w; |