Partager via


IP_ADDRESS_PREFIX (Compact 2013)

3/26/2014

This structure stores an IP address prefix.

Syntax

typedef struct _IP_ADDRESS_PREFIX {
  SOCKADDR_INET  Prefix;
  UINT8  PrefixLength;
} IP_ADDRESS_PREFIX, *PIP_ADDRESS_PREFIX;

Members

  • Prefix
    The prefix or network part of the address represented as an IP address.
  • PrefixLength
    The length, in bits, of the prefix or network part of the IP address. For a unicast IPv4 address, any value that is larger than 32 is an illegal value. For a unicast IPv6 address, any value that is larger than 128 is an illegal value. A value of 255 is typically used to represent an illegal value.

See Also

Reference

IP Helper Structures
MIB Structures