2.2.1.2.164 IPRIP_GLOBAL_CONFIG
The IPRIP_GLOBAL_CONFIG structure contains global configuration for the IPRIP. This structure is used in structures IPRIP_MIB_GET_INPUT_DATA (section 2.2.1.2.161), IPRIP_MIB_GET_OUTPUT_DATA (section 2.2.1.2.162), and in the following methods:
RRouterInterfaceTransportSetGlobalInfo (section 3.1.4.10)
RRouterInterfaceTransportGetGlobalInfo (section 3.1.4.11)
There is only one instance of this entry in the MIB. Following it is an array of GC_PeerFilterCount DWORDs, each of which contains an IP address which is a peer which will be accepted or rejected depending on the value of GC_PeerFilterMode. If the GC_PeerFilterMode is set to IPRIP_FILTER_EXCLUDE, routes will be rejected which come from the routers whose addresses are in the peer array, and all other routers will be accepted.
Likewise, if the GC_PeerFilterMode is set to IPRIP_FILTER_INCLUDE, routes will only be accepted if they are from the routers in the peer array.
-
typedef struct _IPRIP_GLOBAL_CONFIG { DWORD GC_LoggingLevel; DWORD GC_MaxRecvQueueSize; DWORD GC_MaxSendQueueSize; DWORD GC_MinTriggeredUpdateInterval; DWORD GC_PeerFilterMode; DWORD GC_PeerFilterCount; } IPRIP_GLOBAL_CONFIG, *PIPRIP_GLOBAL_CONFIG;
GC_LoggingLevel: Specifies the logging level. This MUST be one of the following values.
-
Value
Meaning
IPRIP_LOGGING_NONE
0x00000000
No logging is done.
IPRIP_LOGGING_ERROR
0x00000001
Only errors are logged.
IPRIP_LOGGING_WARN
0x00000002
Errors and warnings are logged.
IPRIP_LOGGING_INFO
0x00000003
Errors, warnings, and information is logged.
GC_MaxRecvQueueSize: The maximum queue size of outstanding RIP messages that need to be processed.
GC_MaxSendQueueSize: The maximum queue size for outstanding RIP messages that have been sent out.
GC_MinTriggeredUpdateInterval: The minimum amount of time router waits before it sends triggered updates.
GC_PeerFilterMode: Specifies whether route changes from all the IP addresses are accepted. It MUST be one of the following values.
-
Value
Meaning
IPRIP_FILTER_DISABLED
0x00000000
Updates from all the IP addresses are accepted.
IPRIP_FILTER_INCLUDE
0x00000001
Updates only from the IP addresses specified in this structure after GC_PeerFilterCount are accepted.
IPRIP_FILTER_EXCLUDE
0x00000002
Ignores updates from the IP addresses specified in this structure after GC_PeerFilterCount.
GC_PeerFilterCount: The number of IP addresses in this structure after this field.