pripv6addr.rst (588B)
1 PRIPv6Addr 2 ========== 3 4 Type used in the ``ipv6.ip`` field of the :ref:`PRNetAddr` structure. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prio.h> 13 14 #if defined(_PR_INET6) 15 typedef struct in6_addr PRIPv6Addr; 16 #endif /* defined(_PR_INET6) */ 17 18 19 Description 20 ----------- 21 22 PRIPv6Addr represents a 128-bit IPv6 address. It is equivalent to struct 23 ``in6_addr`` in the Berkeley socket interface. :ref:`PRIPv6Addr` is always 24 manipulated as a byte array. Unlike the IPv4 address (a 4-byte unsigned 25 integer) or the port number (a 2-byte unsigned integer), it has no 26 network or host byte order.