2.2.1.4 PEER_IN6_ADDRESS_EX
This structure represents a single IPv6 address and a Peer ID.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Protocol Family |
Port |
||||||||||||||||||||||||||||||
IPv6 Address (16 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Peer ID (variable) |
|||||||||||||||||||||||||||||||
... |
Protocol Family (2 bytes): MUST be set to 0x0017 for IPv6.
Port (2 bytes): The TCP port on which the node is listening.
IPv6 Address (16 bytes): The numerical value of an IPv6 Address [RFC4291].
Peer ID (variable): The null-terminated UTF-8 string representing the Peer ID.