M3UAGenSta

Dependent function: M3uaGenStatus

The following M3UAGenSta structure contains general M3UA status information:

typedef struct _M3UAGenSta          /* General status */
{
    U32         memSize;            /* Reserved memory size */
    U32         memAlloc;           /* Allocated memory size */
    U8          haState;            /* High Availability State */
    U8          isolated;           /* Isolation state.  False = connected to mate. */
    U16         spare2;             /* alignment */
} M3UAGenSta;

The M3UAGenSta structure contains the following fields:

Field

Type

Description

memSize

U32

Size of the memory, in bytes, reserved for M3UA.

memAlloc

U32

Size of the memory, in bytes, currently allocated by M3UA.

haState

U8

High availability state of the M3UA layer. Valid values are:

M3UA_HAST_BACKUP - M3UA is the backup node in a redundant configuration.

M3UA_HAST_PRIMARY - M3UA is the primary node in a redundant configuration.

M3UA_HAST_STANDALONE  - M3UA is operating in a non-redundant configuration.

M3UA_HAST_STARTING - M3UA has not been assigned a high availability state.

isolated

U8

Isolation state. Valid values are:

True = Not connected to redundant mate.

False = Connected to redundant mate.

spare2

U16

Alignment.