Lines Matching defs:mask
169 warnx("invalid address mask");
296 plen2mask(struct sockaddr_in6 *mask, int plen)
298 u_char *cp = (unsigned char *)&mask->sin6_addr;
300 memset(mask, 0, sizeof(*mask));
301 mask->sin6_family = AF_INET6; /* just in case */
302 mask->sin6_len = sizeof(*mask);
329 mask2plen(struct sockaddr_in6 *mask)
335 lim = (u_char *)(mask + 1);
336 for (p = (u_char *)(&mask->sin6_addr); p < lim; p++) {