prg_ip_address_subnet_get()
Abstract
Returns a new IP address that corresponds to the IP subnet of the specified host IP address.
Syntax
prg_ip_address_subnet_get (ip_address)
| Argument | Type | Description |
|---|---|---|
ip_address |
PrgT_IP_Address |
the IP address which provides the basis for the new address |
Return Type
PrgT_IP_Address
The IP address that results from setting all of the host bits (those not covered by the subnet bitmask) of the address value component to zero.
Header
prg_ip_address.h
Details
Returns a new IP address that corresponds to the IP subnet of the specified host IP address.