Method

AravisGvDeviceset_persistent_ip

Declaration [src]

void
arv_gv_device_set_persistent_ip (
  ArvGvDevice* gv_device,
  GInetAddress* ip,
  GInetAddressMask* mask,
  GInetAddress* gateway,
  GError** error
)

Description [src]

Sets the persistent IP address to device. Also disable DHCP then enable persistent IP mode.

Available since:0.8.22

Parameters

ip GInetAddress
 

IPv4 address.

 The argument can be NULL.
 The data is owned by the caller of the function.
mask GInetAddressMask
 

Netmask.

 The argument can be NULL.
 The data is owned by the caller of the function.
gateway GInetAddress
 

Gateway IPv4 address.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.