Searched refs:plen2mask (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | libinetutil.h | 56 extern int plen2mask(uint_t, sa_family_t, struct sockaddr *);
|
H A D | inetutil.c | 112 plen2mask(uint_t prefixlen, sa_family_t af, struct sockaddr *mask) in plen2mask() function
|
H A D | mapfile-vers | 72 plen2mask;
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 116 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 D | ipadm_ndpd.c | 179 (void) plen2mask(PREFIXLEN_LINKLOCAL, AF_INET6, in i_ipadm_create_linklocal()
|
H A D | ipadm_addr.c | 792 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()
|