次の方法で共有


2.2.10 LocalMasterAnnouncement Browser Frame

A local master browser for a machine group MUST announce itself with the periodicity listed in section 3.3.2 to all the other browser servers in its machine group that are on its subnet, using the LocalMasterAnnouncement frame. The LocalMasterAnnouncement frame MUST be broadcast by using the NetBIOS group name <machine group>[0x1E] and mailslot \MAILSLOT\BROWSE.

The format of the LocalMasterAnnouncement frame MUST be as listed in the following table.


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

0x0F

UpdateCount

Periodicity

...

ServerName (16 bytes)

...

...

...

OSVersionMajor

OSVersionMinor

ServerType

BrowserConfigVersionMajor

BrowserConfigVersionMinor

Signature

Comment (variable)

...

0x0F (1 byte): The 8-bit opcode that identifies this structure as a LocalMasterAnnouncement frame. This opcode MUST have a value of 0x0F.

UpdateCount (1 byte): An unsigned 8-bit integer that MUST be set to 0x00 and MUST be ignored upon receipt.

Periodicity (4 bytes): An unsigned 32-bit integer that MUST be the announcement frequency of the local master browser server in milliseconds. It MUST be set to the NewLocalMasterAnnouncement timer value of the server in milliseconds. For more information, see section 3.3.2.

ServerName (16 bytes): MUST be a null-terminated ASCII server name with a length of 16 bytes, including the null terminator. If the name is fewer than 16 bytes in length including the terminator, then the remainder of the 16 bytes must be ignored.

OSVersionMajor (1 byte): MUST be an unsigned 8-bit integer that indicates the major version of the operating system that the server is running. This value is provided for informational purposes only and is irrelevant to the browsing protocol.<23>

OSVersionMinor (1 byte): MUST be an unsigned 8-bit integer that indicates the minor version of the operating system the server is running. This value is provided for informational purposes only and is irrelevant to the browsing protocol.<24>

ServerType (4 bytes): An unsigned 32-bit integer that MUST be the type of the local master browser server. The type bits are as specified in [MS-RAP] section 2.5.5.2.1.

BrowserConfigVersionMajor (1 byte): An unsigned 8-bit integer that SHOULD be set to the major version of the browser protocol that the server is running. This value is legacy and is irrelevant to the browsing protocol.<25>

BrowserConfigVersionMinor (1 byte): An unsigned 8-bit integer that SHOULD be set to the minor version of the browser protocol that the server is running. This value is legacy and is irrelevant to the browsing protocol.<26>

Signature (2 bytes): An unsigned 16-bit integer that MUST have the value 0xAA55.

Comment (variable): A null-terminated ASCII string that MUST be less than or equal to 43 bytes in length, including the null terminator. This is a purely informational comment associated with the server and has no effect on the operation of the CIFS Browser Protocol.