2.2.1.2.61 MPR_SERVER_0

The MPR_SERVER_0 structure contains configuration information for a router.

 typedef struct MPR_SERVER_0 {
   BOOL fLanOnlyMode;
   DWORD dwUpTime;
   DWORD dwTotalPorts;
   DWORD dwPortsInUse;
 } MPR_SERVER_0,
  *PMPR_SERVER_0;

fLanOnlyMode: This is of type BOOL. It specifies whether the RRAS server is running in LAN only mode or not. If the value is 1, the RRAS server is not routing; if the value is 0, then the RRAS server is functioning as a router.

Value

Meaning

0

The RRAS server is functioning as a router.

1

The RRAS server is not routing.

dwUpTime: Specifies the elapsed time (in seconds) since the router was started.

dwTotalPorts: Specifies the number of ports on the router.

dwPortsInUse: Specifies the number of ports on the router currently in use.