次の方法で共有


2.2.1.2.14 RTR_DISC_INFO

The RTR_DISC_INFO structure is used to set and retrieve router discovery information according to [RFC1256].

This structure is used in the following methods:

wMaxAdvtInterval: This MUST be set to the maximum time allowed between sending multicast Router Advertisements from the interface, in seconds. It MUST be no less than 4 seconds and no greater than 1800 seconds.

wMinAdvtInterval: This MUST be the minimum time allowed between sending unsolicited multicast Router Advertisements from the interface, in seconds. It MUST be no less than 3 seconds and no greater than wMaxAdvtInterval.

wAdvtLifetime: This MUST be the value to be placed in the Lifetime field of Router Advertisements sent from the interface, in seconds. It MUST be no less than wMaxAdvtInterval and no greater than 9000 seconds.

bAdvertise: This MUST be the flag indicating whether or not the address is to be advertised.

lPrefLevel: This MUST be the preference of the address as a default router address, relative to other router addresses on the same subnet. A 32-bit, signed, twos complement integer, with higher values meaning more preferable. The minimum value (0x80000000) is used to indicate that the address, even if advertised, is not to be used by neighboring hosts as a default router address.

When this structure is used, the InfoType of RTR_TOC_ENTRY (section 2.2.1.2.4) MUST be 0xFFFF0007 to specify router discovery information.