|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
HostIp handles and manipulates the default gateway on end devices. More...
Public Member Functions | |
| void | setDefaultGateway (ip) |
| Sets the default gateway with the specified IP address. More... | |
| ip | getDefaultGateway () |
| Returns the IP address of the default gateway. More... | |
Public Member Functions inherited from Process | |
| Device | getOwnerDevice () |
| Returns the device for this process. More... | |
HostIp handles and manipulates the default gateway on end devices.
| ip HostIp::getDefaultGateway | ( | ) |
Returns the IP address of the default gateway.
| void HostIp::setDefaultGateway | ( | ip | ) |
Sets the default gateway with the specified IP address.
| gatewayIp,the | IP address of the gateway. |