MGSL_ADDRESS_LIST Structure


This structure contains a list of HDLC addresses associated with a link instance. This structure is used with the MgslDlSetAddressList API function.

typedef struct _MGSL_ADDRESS_LIST
{
    ULONG Link;   /* link instance identifier */
    ULONG ListID; /* address list identifier (local or remote) */
    ULONG Length; /* address length */
    ULONG Count;  /* number of addresses contained in Data */
    UCHAR Data[1]; /* variable length set of addresses */

} MGSL_ADDRESS_LIST, *PMGSL_ADDRESS_LIST;

Link

Link instance identifier set by the application before passing the structure to MgslDlSetAddressList.

ListID

Identifies which address list to set (local or remote). Use the predefined constants ADDRESS_LOCAL and ADDRESS_REMOTE defined in mghdlc.h header file. See MgslDlSetAddressList for a detailed explanation of the purpose of each list.

Length

Length in bytes of all addresses contained in Data. All addresses must be the same length and must not exceed MGSL_MAX_ADDRESS.

Count

The number of addresses contained in Data.

Data

A variable length data field that contains Count addresses of size Length.


Previous Contents Next