Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
HostIpv6 Class Reference
Inheritance diagram for HostIpv6:
Process

Public Member Functions

void setDefaultGateway (ipv6)
 Sets the default gateway with the specified IP address. More...
 
ipv6 getDefaultGateway () const
 Returns the IP address of the default gateway. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Member Function Documentation

◆ getDefaultGateway()

ipv6 HostIpv6::getDefaultGateway ( ) const

Returns the IP address of the default gateway.

    \return ip, the IP address of the default gateway.

◆ setDefaultGateway()

void HostIpv6::setDefaultGateway ( ipv6  )

Sets the default gateway with the specified IP address.

Parameters
gatewayIp,theIP address of the gateway.

The documentation for this class was generated from the following file: