ipset.c some basic ideas bulked out. code from showip.c integrated