simple test application

simple application to test driver functionality as i develop it. Basic intended code flow will be:
open(/dev/...);
ioctl(SET_IP_NETWORK_IOCTL, 192.168.0.0/16:80) ;
mmap(NULL, 0, PROT_READ, ...);
ioctl(START_SCAN);
poll(...) // BLOCK UNTIL SCAN DONE
// optionally: ioctl(RESCAN_ONLY_MISSING_HOSTS)
for (...) {
        if (BIT_IS_SET(ip++))
             updateDatabase(SET_PORT_OPEN, ip, port);
}
close(fd);