RtnGetIpAddress

RtnGetIpAddress returns the IP address associated with this device instance. The IP address is in network byte order. The IP address is not available in the RtndInitialize routine, but is available during the RtndConfigure routine and subsequent routines. Drivers do not normally need to know their own IP address.

Syntax

unsigned
long
RtnGetIpAddress(
    void *ndp
);

Parameters

ndp

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

Return Value

IP address associated with this instance of the driver. IP address is binary and is in network byte order.

Requirements

Minimum Supported Version RTX64 2013
Header rtnapi.h
Library RtTcpip.lib