2.2.2.23 MS-Alternate Mapped Address

This section follows the product behavior as described in product behavior note <22>.

The MS-Alternate Mapped Address attribute is identical to the Mapped Address attribute specified in section 2.2.2.1.  This attribute is used to identify the public IPv6 transport address allocated by the TURN server if it is configured to support both IPv4 and IPv6 and the protocol client requested allocation of both an IPv4 and IPv6 address.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Attribute Type

Attribute Length

Reserved

Family

Port

IP Address

...

Attribute Type (2 bytes): The TURN attributes are specified in [IETFDRAFT-STUN-02] section 10.2 and [IETFDRAFT-TURN-08] section 9.2. Set to "0x8090".

Attribute Length (2 bytes): Set to "0x0014" (20) for an IPv6 address.

Reserved (1 byte): The first 8 bits are used for alignment purposes and are ignored.

Family (1 byte): The address family of the Address.  It MUST have the value of "0x02" for an IPv6 address.

Port (2 bytes): A network byte ordered representation of the mapped port.

IP Address (16 bytes): The network byte ordered 128-bit (16 bytes) IPv6 mapped address.