Simple netmask utility.