prg_ip_address_subnet_next()
Abstract
Advances an IP address to the next subnet address after the subnet of the specified IP address.
Syntax
prg_ip_address_subnet_next (ip_address_ptr)
| Argument | Type | Description |
|---|---|---|
ip_address |
PrgT_IP_Address * |
a reference to the IP address that will be advanced |
Return Type
PrgT_Compcode
Indicates whether the specified IP address’s subnet can be successfully advanced.
Header
prg_ip_address.h
Details
This function is purely mechanical and does not have any concept of already used addresses. This function also currently does not “upgrade” subnets on IP address class (A,B,C) boundaries, instead it leaves the mask the same.