prg_ip_address_default_mask_get()
Abstract
Return the default subnet mask for the specified IP address based on its class.
Syntax
prg_ip_address_default_mask_get (ip_address)
| Argument | Type | Description |
|---|---|---|
ip_address |
PrgT_IP_Address |
the IP address whose address value determines its class |
Return Type
unsigned int
The default bit mask which is associated with the determined IP address class.
Header
prg_ip_address.h
Details
Return the default subnet mask for the specified IP address based on its class (Class A, B, or C).