Go to the source code of this file.
#define IP6_ADDR |
( |
|
ipaddr, |
|
|
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
e, |
|
|
|
f, |
|
|
|
g, |
|
|
|
h |
|
) |
| |
Value:do { (ipaddr)->
addr[0] =
htonl((
u32_t)((a & 0xffff) << 16) | (b & 0xffff)); \
(ipaddr)->
addr[1] =
htonl(((c & 0xffff) << 16) | (d & 0xffff)); \
(ipaddr)->
addr[2] =
htonl(((e & 0xffff) << 16) | (f & 0xffff)); \
(ipaddr)->
addr[3] =
htonl(((g & 0xffff) << 16) | (h & 0xffff)); }
while(0)
Definition at line 71 of file ip_addr.h.
#define ip_addr_debug_print |
( |
|
debug, |
|
|
|
ipaddr |
|
) |
| |
Value:
(
ntohl(ipaddr->addr[0]) >> 16) & 0xffff, \
ntohl(ipaddr->addr[0]) & 0xffff, \
(
ntohl(ipaddr->addr[1]) >> 16) & 0xffff, \
ntohl(ipaddr->addr[1]) & 0xffff, \
(
ntohl(ipaddr->addr[2]) >> 16) & 0xffff, \
ntohl(ipaddr->addr[2]) & 0xffff, \
(
ntohl(ipaddr->addr[3]) >> 16) & 0xffff, \
ntohl(ipaddr->addr[3]) & 0xffff));
Definition at line 82 of file ip_addr.h.