[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_NETWORK structure describes an IP network address.
Syntax
typedef struct _IP_NETWORK {
DWORD N_NetNumber;
DWORD N_NetMask;
} IP_NETWORK, *PIP_NETWORK;
Members
N_NetNumber
Specifies the IP network number 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.
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.
