RtnGetIpAddress

RtnGetIpAddress returns the IP address associated with this device instance. The IPv4 address is in network byte order.

Syntax

ULONG RtnGetIpAddress(
    void *ndp
);

Parameters

ndp

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

Return Value

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

Returns 0 when called from RtndConfigureFilter because the IPv4 address is not yet configured, or when an IPv4 address has been configured for the interface.

Returns one of IPv4 addresses if an interface has multiple IPv4 addresses.

 

Requirements

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

See Also:

RtndConfigureFilter