NDIS_PORT_AUTHENTICATION_PARAMETERS structure (ntddndis.h)

The NDIS_PORT_AUTHENTICATION_PARAMETERS structure specifies the state parameters for an NDIS port.

Syntax

typedef struct _NDIS_PORT_AUTHENTICATION_PARAMETERS {
  NDIS_OBJECT_HEADER            Header;
  NDIS_PORT_CONTROL_STATE       SendControlState;
  NDIS_PORT_CONTROL_STATE       RcvControlState;
  NDIS_PORT_AUTHORIZATION_STATE SendAuthorizationState;
  NDIS_PORT_AUTHORIZATION_STATE RcvAuthorizationState;
} NDIS_PORT_AUTHENTICATION_PARAMETERS, *PNDIS_PORT_AUTHENTICATION_PARAMETERS;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_PORT_AUTHENTICATION_PARAMETERS structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_PORT_AUTHENTICATION_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_PORT_AUTHENTICATION_PARAMETERS_REVISION_1.

SendControlState

The control state of the port that the miniport adapter should use for send operations. This member must contain one of the following values:

NdisPortControlStateUnknown

The port's control state for send operations is unknown.

NdisPortControlStateControlled

The port is in a controlled state for send operations. That is, the port requires authorization.

NdisPortControlStateUncontrolled

The port is in an uncontrolled state for send operations. That is, the port does not require authorization.

RcvControlState

The control state of the port that the miniport adapter should use for receive operations. This member must contain one of the following values:

NdisPortControlStateUnknown

The port's control state for receive operations is unknown.

NdisPortControlStateControlled

The port is in a controlled state for receive operations. That is, the port requires authorization.

NdisPortControlStateUncontrolled

The port is in an uncontrolled state for receive operations. That is, the port does not require authorization.

SendAuthorizationState

The authorization state of the port that the miniport adapter should use for send operations. Ignore this member if the SendControlState member is set to NdisPortControlStateUncontrolled.

This member must contain one of the following values:

NdisPortAuthorizationUnknown

The port's authorization state for send operations is unknown.

NdisPortAuthorized

The port is authorized for send operations.

NdisPortUnauthorized

The port is not authorized for send operations.

NdisPortReauthorizing

The port is re-authorizing for send operations.

RcvAuthorizationState

The authorization state of the port that the miniport adapter should use for receive operations. Ignore this member if the RcvControlState member is set to NdisPortControlStateUncontrolled.

This member must contain one of the following values:

NdisPortAuthorizationUnknown

The port's authorization state for receive operations is unknown.

NdisPortAuthorized

The port is authorized for receive operations.

NdisPortUnauthorized

The port is not authorized for receive operations.

NdisPortReauthorizing

The port is re-authorizing for receive operations.

Remarks

The NDIS_PORT_AUTHENTICATION_PARAMETERS structure is used in OID_GEN_PORT_AUTHENTICATION_PARAMETERS OID requests to specify the current authentication state of an NDIS port.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ntddndis.h (include Ndis.h)

See also

NDIS_OBJECT_HEADER

OID_GEN_PORT_AUTHENTICATION_PARAMETERS