rework of in_addr methods