Lines Matching refs:plenp
251 int *plenp, struct hostent **hpp);
253 int *plenp, int which, struct hostent **hpp, addr_type_t atype,
2187 * If the plenp argument is non-NULL, allow <addr>/<n> syntax and
2188 * pass out <n> in *plenp.
2189 * If <n> doesn't parse return BAD_ADDR as *plenp.
2190 * If no /<n> is present return NO_PREFIX as *plenp.
2193 in_getaddr(char *s, struct sockaddr_in *sin, int *plenp, int which,
2204 * If plenp is non-NULL, /<n> syntax for netmask is allowed.
2206 if (plenp != NULL) {
2209 *plenp = in_getprefixlen(str, IP_ABITS);
2210 if (*plenp == BAD_ADDR)
2276 * pass out <n> in *plenp.
2277 * If <n> doesn't parse return BAD_ADDR as *plenp.
2278 * If no /<n> is present return NO_PREFIX as *plenp.
2281 in6_getaddr(char *s, struct sockaddr_in6 *sin6, int *plenp,
2291 * If plenp is non-NULL, /<n> syntax for netmask is allowed.
2293 if (plenp != NULL) {
2296 *plenp = in_getprefixlen(str, IPV6_ABITS);
2297 if (*plenp == BAD_ADDR)