Searched refs:ifa_netmask (Results 1 – 5 of 5) sorted by relevance
79 free(curr->ifa_netmask); in freeifaddrs()172 curr->ifa_netmask = malloc(sizeof (struct sockaddr_storage)); in getallifaddrs()173 if (curr->ifa_netmask == NULL) in getallifaddrs()175 (void) memcpy(curr->ifa_netmask, &lifrl.lifr_addr, in getallifaddrs()
43 struct sockaddr *ifa_netmask; /* Netmask of this interface. */ member
411 cifaddr->ifa_netmask = malloc(sizeof (struct sockaddr_storage)); in i_ipadm_active_addr_info()412 if (cifaddr->ifa_netmask == NULL) in i_ipadm_active_addr_info()414 (void) memcpy(cifaddr->ifa_netmask, ifap->ifa_netmask, in i_ipadm_active_addr_info()746 if ((ifa->ifa_netmask = malloc(size)) == NULL) in i_ipadm_nvl2ainfo_persist()748 if ((err = plen2mask(plen, af, ifa->ifa_netmask)) != 0) in i_ipadm_nvl2ainfo_persist()762 if ((ifa->ifa_netmask = malloc(size)) == NULL) in i_ipadm_nvl2ainfo_persist()771 ifa->ifa_netmask); in i_ipadm_nvl2ainfo_persist()
206 if (ifp->ifa_netmask) in printifaddr()207 printf ("\n\tnetmask="), printaddr (ifp->ifa_netmask); in printifaddr()
1724 if (ifa->ifa_netmask == NULL) in print_sa_cb()1727 prefixlen = mask2plen(ifa->ifa_netmask); in print_sa_cb()