addr_hostmask
if (addr_hostmask(a->af, masklen, &tmp_mask) == -1)
int addr_hostmask(int af, u_int l, struct xaddr *n);