2.2.1.2.168 IPRIP_IF_BINDING

The IPRIP_IF_BINDING structure is an MIB entry that contains the table of IP addresses to which each interface is bound. This structure is used in IPRIP_MIB_GET_INPUT_DATA (section 2.2.1.2.161) and IPRIP_MIB_GET_OUTPUT_DATA (section 2.2.1.2.162) structures.  

All IP addresses are in network order. This structure is variable length.

The base structure contains the field IB_AddrCount, which gives the number of IP addresses to which the indexed interface is bound. The IP addresses themselves follow the base structure and are given as IPRIP_IP_ADDRESS (section 2.2.1.2.169) structures. This MIB entry is read-only. 

 typedef struct _IPRIP_IF_BINDING {
   DWORD IB_State;
   DWORD IB_AddrCount;
 } IPRIP_IF_BINDING,
  *PIPRIP_IF_BINDING;

IB_State: The IP RIP state on the interface. It MUST be a combination of one or more of the following values.

Value

Meaning

IPRIP_STATE_ENABLED

0x00000001

The IP RIP is enabled.

IPRIP_STATE_BOUND

0x00000002

The socket is bound.

IB_AddrCount: The number of IPRIP_IP_ADDRESS structures present at the end of this structure.