Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libinetutil/common/
H A Dlibinetutil.h56 extern int plen2mask(uint_t, sa_family_t, struct sockaddr *);
H A Dinetutil.c112 plen2mask(uint_t prefixlen, sa_family_t af, struct sockaddr *mask) in plen2mask() function
H A Dmapfile-vers72 plen2mask;
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c116 if (plen2mask(masklen, AF_INET, (struct sockaddr *)&m4) != 0) { in i_ipadm_rtioctl4()
190 if (plen2mask(prefix_length, AF_INET6, in i_ipadm_rtioctl6()
H A Dipadm_ndpd.c179 (void) plen2mask(PREFIXLEN_LINKLOCAL, AF_INET6, in i_ipadm_create_linklocal()
H A Dipadm_addr.c792 if ((err = plen2mask(plen, af, ifa->ifa_netmask)) != 0) in i_ipadm_nvl2ainfo_persist()
814 err = plen2mask(atoi(propstr), ifa->ifa_addr->sa_family, in i_ipadm_nvl2ainfo_persist()
969 if ((err = plen2mask(prefixlen, af, (struct sockaddr *)&netmask)) != 0) in i_ipadm_set_prefixlen()
1250 if ((err = plen2mask(plen, AF_INET, in i_ipadm_get_broadcast()
2907 (void) plen2mask(ipaddr->ipadm_static_prefixlen, af, in i_ipadm_create_addr()