class IPv4Settings

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
ipv4_addressuint32IPv4Address
ipv4_subnet_maskuint32IPv4SubnetMask
ipv4_default_gatewayuint32IPv4DefaultGateway

Member functions

Function nameReturn typeInput typeDescription
ipv4_address()uint32voidReturns the current value of ipv4_address. If the ipv4_address is not set, returns 0.
set_ipv4_address()voiduint32Sets the value of ipv4_address. After calling this, ipv4_address() will return value.
clear_ipv4_address()voidvoidClears the value of ipv4_address. After calling this, ipv4_address() will return 0.
ipv4_subnet_mask()uint32voidReturns the current value of ipv4_subnet_mask. If the ipv4_subnet_mask is not set, returns 0.
set_ipv4_subnet_mask()voiduint32Sets the value of ipv4_subnet_mask. After calling this, ipv4_subnet_mask() will return value.
clear_ipv4_subnet_mask()voidvoidClears the value of ipv4_subnet_mask. After calling this, ipv4_subnet_mask() will return 0.
ipv4_default_gateway()uint32voidReturns the current value of ipv4_default_gateway. If the ipv4_default_gateway is not set, returns 0.
set_ipv4_default_gateway()voiduint32Sets the value of ipv4_default_gateway. After calling this, ipv4_default_gateway() will return value.
clear_ipv4_default_gateway()voidvoidClears the value of ipv4_default_gateway. After calling this, ipv4_default_gateway() will return 0.

Parent topic: DeviceConfig (C++)