Searched refs:nifa (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 274 struct nwamd_if_address *nifap, *nifa = ncu->ncu_if.nwamd_if_list; in find_static_address() local 280 for (nifap = nifa; nifap != NULL; nifap = nifap->next) { in find_static_address() 301 struct nwamd_if_address *nifap, *nifa = ncu->ncu_if.nwamd_if_list; in find_nonstatic_address() local 306 for (nifap = nifa; nifap != NULL; nifap = nifap->next) { in find_nonstatic_address() 332 struct nwamd_if_address *nifap, *nifa = ncu->ncu_if.nwamd_if_list; in find_configured_address() local 337 for (nifap = nifa; nifap != NULL; nifap = nifap->next) { in find_configured_address() 691 add_ip_address(const char *ifname, const struct nwamd_if_address *nifa, in add_ip_address() argument 698 if (nifa->ipaddr_atype == IPADM_ADDR_DHCP) { in add_ip_address() 705 nwamd_dhcp(ifname, nifa->ipaddr, DHCP_START); in add_ip_address() 708 (nifa->ipaddr_atype == IPADM_ADDR_STATIC ? in add_ip_address() [all …]
|
H A D | ncu.c | 735 struct nwamd_if_address **nifa, *nifai, *nifait; in populate_ip_ncu_properties() local 787 nifa = &(nif->nwamd_if_list); in populate_ip_ncu_properties() 831 if ((*nifa = calloc(sizeof (**nifa), 1)) != NULL) { in populate_ip_ncu_properties() 832 (*nifa)->family = AF_INET; in populate_ip_ncu_properties() 833 (*nifa)->ipaddr_atype = IPADM_ADDR_DHCP; in populate_ip_ncu_properties() 834 (*nifa)->ipaddr = ipaddr; in populate_ip_ncu_properties() 835 nifa = &((*nifa)->next); in populate_ip_ncu_properties() 836 *nifa = NULL; in populate_ip_ncu_properties() 879 if ((*nifa = calloc(sizeof (**nifa), 1)) in populate_ip_ncu_properties() 881 (*nifa)->family = AF_INET; in populate_ip_ncu_properties() [all …]
|