共用方式為


2.2.3 REQ_GET_DFS_REFERRAL_EX

DFS referral requests sent in the form of an REQ_GET_DFS_REFERRAL_EX message take the following format:


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

MaxReferralLevel

RequestFlags

RequestDataLength

RequestData (variable)

...

MaxReferralLevel (2 bytes): A 16-bit integer that indicates the highest DFS referral version understood by the client. The DFS referral versions specified by this document are 1 through 4 inclusive. A DFS client MUST support DFS referral version 1 through the version number set in this field. The referral response messages are referral version dependent and are specified in section 2.2.5.

RequestFlags (2 bytes): This field MUST contain zero or more of the following values:

Value

Meaning

SiteName

0x00000001

SiteName present: The SiteName bit MUST be set to 1 if the packet contains the site name of the client.

If the SiteName flag is set in the RequestFlags field, then the RequestData buffer MUST contain both SiteNameLength and SiteName data.

RequestDataLength (4 bytes): A 32-bit integer that specifies the length of the RequestData field.

RequestData (variable): The format for RequestData is given in section 2.2.3.1.