Edit

Share via


NET_STRING

Represent network address types. Use one or more (as a bitwise combination) of the following constants to create a network address mask to use with the macro NetAddr_SetAllowType.

Constant Description
NET_STRING_IPV4_ADDRESS
The string identifies an IPv4 host/router using literal address (port or prefix not allowed).
NET_STRING_IPV4_SERVICE
The string identifies an IPv4 service using literal address (port required; prefix not allowed).
NET_STRING_IPV4_NETWORK
The string identifies an IPv4 network (prefix required; port not allowed).
NET_STRING_IPV6_ADDRESS
The string identifies an IPv6 Host/router using literal address (port or prefix not allowed; scope-id allowed.)
NET_STRING_IPV6_ADDRESS_NO_SCOPE
The string identifies an IPv6 Host/router using literal address where the interface context is already known (port or prefix not allowed; scope-id not allowed).
NET_STRING_IPV6_SERVICE
The string identifies an IPv6 service using literal address (port required; prefix not allowed; scope-id allowed).
NET_STRING_IPV6_SERVICE_NO_SCOPE
The string identifies an IPv6 service using literal address where the interface context is already known (port required; prefix not allowed; scope-id not allowed).
NET_STRING_IPV6_NETWORK
The string identifies an IPv6 network (prefix required; port or scope-id not allowed).
NET_STRING_NAMED_ADDRESS
The string identifies an Internet Host using the DNS(port or prefix or scope-id not allowed).
NET_STRING_NAMED_SERVICE
The string identifies an Internet service using DNS (port required; prefix or scope-id not allowed).
NET_STRING_IP_ADDRESS
NET_STRING_IPV4_ADDRESS | NET_STRING_IPV6_ADDRESS.
NET_STRING_IP_ADDRESS_NO_SCOPE
NET_STRING_IPV4_ADDRESS | NET_STRING_IPV6_ADDRESS_NO_SCOPE.
NET_STRING_IP_SERVICE
NET_STRING_IPV4_SERVICE | NET_STRING_IPV6_SERVICE.
NET_STRING_IP_SERVICE_NO_SCOPE
NET_STRING_NAMED_ADDRESS | NET_STRING_IP_ADDRESS_NO_SCOPE.
NET_STRING_IP_NETWORK
NET_STRING_IPV4_NETWORK | NET_STRING_IPV6_NETWORK.
NET_STRING_ANY_ADDRESS
NET_STRING_NAMED_ADDRESS | NET_STRING_IP_ADDRESS.
NET_STRING_ANY_ADDRESS_NO_SCOPE
NET_STRING_NAMED_ADDRESS | NET_STRING_IP_ADDRESS_NO_SCOPE.
NET_STRING_ANY_SERVICE
NET_STRING_NAMED_SERVICE | NET_STRING_IP_SERVICE.
NET_STRING_ANY_SERVICE_NO_SCOPE
NET_STRING_NAMED_ADDRESS | NET_STRING_IP_ADDRESS_NO_SCOPE.

Remarks

These values are defined in Iphlpapi.h.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Iphlpapi.h