Home
last modified time | relevance | path

Searched refs:ifa_netmask (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c79 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()
/titanic_41/usr/src/head/
H A Difaddrs.h43 struct sockaddr *ifa_netmask; /* Netmask of this interface. */ member
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_addr.c411 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()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c206 if (ifp->ifa_netmask) in printifaddr()
207 printf ("\n\tnetmask="), printaddr (ifp->ifa_netmask); in printifaddr()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1724 if (ifa->ifa_netmask == NULL) in print_sa_cb()
1727 prefixlen = mask2plen(ifa->ifa_netmask); in print_sa_cb()