[This API has been superseded by the Routing Table Manager Version 2 API and will not be available beyond Windows Server 2003. Applications should use the Routing Table Manager Version 2 API.]
The IP_NEXT_HOP_ADDRESS structure contains the address for the next-hop router for an IP route.
Syntax
typedef struct _IP_NEXT_HOP_ADDRESS {
DWORD N_NetNumber;
DWORD N_NetMask;
} IP_NEXT_HOP_ADDRESS, *PIP_NEXT_HOP_ADDRESS;
Members
N_NetNumber
Specifies the IP network address expressed as an IP address in machine-byte order.
N_NetMask
Specifies the network mask. Apply this mask to the IP address in order to extract the network address. The network mask is in machine-byte order.
Remarks
The IP_NEXT_HOP_ADDRESS structure is a typedef of the IP_NETWORK structure. The typedef is in Rtm.h.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| End of server support | Windows Server 2003 |
| Header | Rtm.h |
See also
Routing Table Manager Version 1 Reference
Routing Table Manager Version 1 Structures
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
