Function rs2_get_netmask

Function Documentation

void rs2_get_netmask(const rs2_device *device, rs2_ip_address configured_netmask, rs2_ip_address actual_netmask, rs2_error **error)

Get network mask

Parameters:
  • device[in] RealSense device

  • configured_netmask[out] Configured network mask to populate

  • actual_netmask[out] Actual network mask to populate. Might be different from configured_netmask if DHCP is enabled

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored