Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c144 free(curr->ifa_netmask); in freeifaddrs()
388 curr->ifa_netmask = malloc(sizeof (struct sockaddr_storage)); in getallifaddrs()
389 if (curr->ifa_netmask == NULL) in getallifaddrs()
391 (void) memcpy(curr->ifa_netmask, &lifrl.lifr_addr, in getallifaddrs()
/illumos-gate/usr/src/head/
H A Difaddrs.h44 struct sockaddr *ifa_netmask; /* Netmask of this interface. */ member
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c455 cifaddr->ifa_netmask = malloc(sizeof (struct sockaddr_storage)); in i_ipadm_active_addr_info()
456 if (cifaddr->ifa_netmask == NULL) in i_ipadm_active_addr_info()
458 (void) memcpy(cifaddr->ifa_netmask, ifap->ifa_netmask, in i_ipadm_active_addr_info()
790 if ((ifa->ifa_netmask = malloc(size)) == NULL) in i_ipadm_nvl2ainfo_persist()
792 if ((err = plen2mask(plen, af, ifa->ifa_netmask)) != 0) in i_ipadm_nvl2ainfo_persist()
806 if ((ifa->ifa_netmask = malloc(size)) == NULL) in i_ipadm_nvl2ainfo_persist()
815 ifa->ifa_netmask); in i_ipadm_nvl2ainfo_persist()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1964 if (ifa->ifa_netmask == NULL) in print_sa_cb()
1967 prefixlen = mask2plen(ifa->ifa_netmask); in print_sa_cb()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSPosix.c1357 … if (SetupOneInterface(m, i->ifa_addr, i->ifa_netmask, i->ifa_name, ifIndex) == 0) in SetupInterfaceList()
1376 …(void)SetupOneInterface(m, firstLoopback->ifa_addr, firstLoopback->ifa_netmask, firstLoopback->ifa… in SetupInterfaceList()