RtnSetLinkAddress

RtnSetLinkAddress sets the hardware address (in the stack) for an instance of the driver.

Syntax

VOID RtnSetLinkAddress(
     PVOID ndp,
     BYTE *addr,
     LONG lLength,
     INT txpendlimit
);

Parameters

ndp

Network Device Pointer. Opaque network device identifier (pointer).

addr

Pointer to a byte array indicating the hardware address for this NIC

length

Length of the hardware address (normally 6 for Ethernet)

txpendlimit

This parameter is ignored.

Return Value

None.

Remarks

RtnSetLinkAddress is normally called in the RtndConfigure routine to notify the stack of the hardware (Ethernet) address of an instance of the network device. The hardware address is normally read directly from the NIC.

Requirements

Minimum Supported Version RTX64 4.0
Header rtnapi.h
Library RTX64Nal.lib