Prev Next

LLC_ADAPTER_OPEN_PARMS Overview  Group

The LLC_ADAPTER_OPEN_PARMS structure represents the open parameters for the LLC_DIR_OPEN_ADAPTER command. You pass a pointer to this structure in the LLC_DIR_OPEN_ADAPTER_PARMS structure.

typedef struct {

    USHORT usOpenErrorCode; 

    USHORT usOpenOptions; 

    UCHAR auchNodeAddress[6]; 

    UCHAR auchGroupAddress[4]; 

    UCHAR auchFunctionalAddress[4]; 

    USHORT usReserved1;

    USHORT usReserved2;

    USHORT usMaxFrameSize; 

    USHORT usReserved3[4];

    USHORT usBringUps; 

    USHORT InitWarnings;

    USHORT usReserved4[3];

} LLC_ADAPTER_OPEN_PARMS, *PLLC_ADAPTER_OPEN_PARMS;

Members

usOpenErrorCode
Indicates the result of the open adapter testing.
usOpenOptions
Specifies the open options for the adapter. This member is a 16-bit value. Setting the various bits enables different options, as described in the following table:

Bit

Description

15

The adapter will not attach itself to the network. Instead, it causes all transmitted user data to be wrapped as received data.

14

Disables hard errors.

13

Disables soft errors.

12

Passes, as direct interface data, all adapter-class MAC frames that are received but not supported by the adapter. Otherwise, these frames are ignored.

11

Passes, as direct interface data, all attention MAC frames that are not the same as the last attention MAC frame received. Otherwise, these frames are ignored.

10

Reserved; should be 0.

9

Reserved; should be 0.

8

Participates in monitor contention. Otherwise, this adapter does not participate.

7

Passes, as direct interface data, the first beacon MAC frame and all subsequent beacon MAC frames that have a change in the source address or the beacon type.

6

Reserved; should be 0.

5

Prevents the adapter from becoming a monitor during the open process. This bit is implemented only in 16/4 adapters.

4

Selects no early token releases for an adapter operating at 16 Mbps. Otherwise, use the early token release.

3

Reserved; should be 0.

2

Reserved; should be 0.

1

Reserved; should be 0.

0

Reserved; should be 0.

auchNodeAddress
Specifies the LAN address of the adapter.
auchGroupAddress
Specifies the group address for which the adapter will receive messages. If the value is zero, no group address is set.
auchFunctionalAddress
Specifies the functional address for which the adapter will receive messages. The most significant bit and the least significant bit are ignored by the adapter. If the value is zero, no functional address is set.
usReserved1
Reserved.
usReserved2
Reserved.
usMaxFrameSize
The maximum frame size defined in NDIS.
usReserved3
Reserved.
usBringUps
Indicates the result of adapter bring-up testing for IBM Token-Ring network adapters. This member is not used on the PC Network or on Ethernet.
InitWarnings
Indicates that a nonfatal error occurred during initialization of the protocol drivers. This member can be one of the following values.

Value

Meaning

0

No errors detected during configuration parameter processing.

1

No configuration parameters found.

2

Errors detected during configuration parameter processing; default values were used.

usReserved4
Reserved.

See Also

AcsLan, LLC_DIR_OPEN_ADAPTER_PARMS