Lines Matching refs:plenp
174 static void in_getaddr(char *s, struct sockaddr *saddr, int *plenp);
177 static void in6_getaddr(char *s, struct sockaddr *saddr, int *plenp);
3992 * pass out <n> in *plenp.
3993 * If <n> doesn't parse return BAD_ADDR as *plenp.
3994 * If no /<n> is present return NO_PREFIX as *plenp.
3997 in_getaddr(char *s, struct sockaddr *saddr, int *plenp)
4009 * Look for '/'<n> is plenp
4011 if (plenp != NULL) {
4014 *plenp = in_getprefixlen(str, _B_TRUE, IP_ABITS);
4015 if (*plenp == BAD_ADDR)
4061 * pass out <n> in *plenp.
4062 * If <n> doesn't parse return BAD_ADDR as *plenp.
4063 * If no /<n> is present return NO_PREFIX as *plenp.
4066 in6_getaddr(char *s, struct sockaddr *saddr, int *plenp)
4077 * Look for '/'<n> is plenp
4079 if (plenp != NULL) {
4082 *plenp = in_getprefixlen(str, _B_TRUE, IPV6_ABITS);
4083 if (*plenp == BAD_ADDR)