Partager via


2.2.2.2.2.1 MOVE_DST_IPADDR structure

The MOVE_DST_IPADDR structure is used in Share Redirect Error Context Response to indicate the destination IP 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

Type

Reserved

(IPv4Address,Reserved2)/IPv6Address

...

...

...

Type (4 bytes): This field indicates the type of destination IP address. The field MUST be one of the following values.

Value

Meaning

MOVE_DST_IPADDR_V4

0x00000001

The type of destination IP address in this structure is IPv4 address.

MOVE_DST_IPADDR_V6

0x00000002

The type of destination IP address in this structure is IPv6 address.

Reserved (4 bytes): This field MUST NOT be used and MUST be reserved. The server SHOULD set this field to zero, and the client MUST ignore it on receipt.

(IPv4Address,Reserved2)/ IPv6Address (16 bytes): This field is interpreted in different ways depending on the value of the Type field.

§ If the value of the Type field is MOVE_DST_IPADDR_V4, this field is the IPv4Address field followed by Reserved2 fields.

IPv4Address (4 bytes): 32-bit destination IPv4 address.

Reserved2 (12 bytes): The server MUST set this to 0, and the client MUST ignore it on receipt.

§ If the value of the Type field is MOVE_DST_IPADDR_V6, this field is the IPv6Address field.

IPv6Address (16 bytes): 128-bit destination IPv6 address.