2.2.1.2.215 OSPF_INTERFACE_PARAM
The OSPF_INTERFACE_PARAM structure MAY<151> be used to contain the OSPF Non-Broadcast Multiple Access (NBMA) neighbor parameters and is used in the following methods:
RRouterInterfaceTransportSetInfo (section 3.1.4.20)
typedef struct _OSPF_INTERFACE_PARAM { DWORD type; DWORD create; DWORD enable; DWORD intfIpAddr; DWORD intfSubnetMask; DWORD areaId; DWORD intfType; DWORD routerPriority; DWORD transitDelay; DWORD retransInterval; DWORD helloInterval; DWORD deadInterval; DWORD pollInterval; DWORD metricCost; BYTE password[8]; DWORD mtuSize; } OSPF_INTERFACE_PARAM, *POSPF_INTERFACE_PARAM;
type: This MUST be set to OSPF_INTF_PARAM_TYPE.
create: This MUST be set to 1 if the configuration needs to be created or set to 2 if it needs to be deleted.
enable: This MUST set to 1 if the configuration needs to be enabled or set to 2 if it needs to be deleted.
intfIpAddr: The interface address on which the OSPF is enabled.
intfSubnetMask: The interface subnet address on which the OSPF is enabled. See [RFC950].
areaId: The area ID of the OSPF area of which the interface is a part.
intfType: Set to 1 for broadcast, set to 2 for NBMA, and set to 3 for point-to-point.
routerPriority: This MUST be set to a value between 1 and 255.
transitDelay: This MUST be set to a value between 1 and 3600.
retransInterval: This MUST be set to a value between 1 and 3600.
helloInterval: This MUST be set to a value between 1 and USHORTMAX/2.
deadInterval: This MUST be set to a value between 1 and USHORTMAX/2.
pollInterval: This MUST be set to a value between 1 and USHORTMAX/2.
metricCost: This MUST be set to a value between 1 and USHORTMAX/2.
password[8]: The password.
mtuSize: This MUST be set to a value between 1 and 10000.