Home | History | Annotate | Download | only in iptables

Lines Matching full:mask

38 /* This assumes that mask is contiguous, and byte-bounded. */
40 print_iface(char letter, const char *iface, const unsigned char *mask,
45 if (mask[0] == 0)
51 if (mask[i] != 0) {
56 * a few lines above we make sure that mask[0] != 0 */
141 /* print a given ip including mask if neccessary */
142 static void print_ip(char *prefix, u_int32_t ip, u_int32_t mask, int invert)
144 if (!mask && !ip && !invert)
152 if (mask != 0xffffffff)
153 printf("/%u.%u.%u.%u ", IP_PARTS(mask));