get_netmask4
extern void get_netmask4(const struct in_addr *, struct in_addr *);
get_netmask4(&ia, &m->sin_addr);