Retrieving Information on the Internet Protocol and the Internet Control Message Protocol
IP Helper provides information retrieval capabilities that are useful for the network administration of the local computer. The following functions retrieve statistics for the Internet Protocol (IP) and the Internet Control Message Protocol (ICMP). You can also use these functions to set certain configuration parameters for IP.
The GetIpStatistics function retrieves the current IP statistics for the local computer. For code samples involving GetIpStatistics see Retrieving Information Using GetIpStatistics.
The GetIcmpStatistics function retrieves the current ICMP statistics.
Use the SetIpStatistics function to enable or disable IP forwarding. This function also makes it possible for you to set the default time-to-live (TTL) for IP datagrams. Alternatively, you can set the TTL by using the SetIpTTL function.