Query: nutscan_cidr_to_ip
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NUTSCAN_CIDR_TO_IP(3) NUT Manual NUTSCAN_CIDR_TO_IP(3)NAMEnutscan_cidr_to_ip - Convert a CIDR IP to a range of IP address.SYNOPSIS#include <nut-scan.h> int nutscan_cidr_to_ip(const char * cidr, char ** start_ip, char ** stop_ip);DESCRIPTIONThe nutscan_cidr_to_ip() function converts a range of IP address in the CIDR format given as a string in cidr, to two IPs in strings pointed by start_ip and stop_ip which can be used as input paramters in the scanning functions of the libnutscan API. It is the caller's responsability to free start_ip and stop_ip strings.RETURN VALUEThe nutscan_cidr_to_ip() function returns 0 if an error occured (invalid cidr address) or 1 if successful.SEE ALSOnutscan_scan_usb(3), nutscan_scan_xml_http(3), nutscan_scan_nut(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3), nutscan_scan_snmp(3), nutscan_display_parsable(3), nutscan_display_ups_conf(3) Network UPS Tools 05/22/2012 NUTSCAN_CIDR_TO_IP(3)
Related Man Pages |
---|
nutscan_add_device_to_device(3) - debian |
nutscan_display_parsable(3) - debian |
nutscan_cidr_to_ip(3) - debian |
nutscan_scan_snmp(3) - debian |
nutscan_scan_usb(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Restricting Telnet to IPs |
mod-cidr 0.02 (Default branch) |
How to parse IP range in CIDR format in C |
Regex for plucking out IPs and CIDRs from text file? |
Convert ip ranges to CIDR netblocks |