RtnSetLinkAddress
RtnSetLinkAddress sets the hardware address (in the stack) for an instance of the driver.
Syntax
void RtnSetLinkAddress( void *ndp, unsigned char *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
The maximum number of packets that the driver is capable of internally queuing transmit completion.
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. The address may be set using the RTX64 control panel, however, and then matched to the NIC to determine which NIC to use if more than one NIC of the same type exists in the system.
Requirements
Minimum Supported Version | RTX64 2013 |
Header | rtnapi.h |
Library | RtTcpip.lib |