Lines Matching defs:mask
87 extern struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, u32 prefix, u32 mask);
96 * Check if a mask is acceptable.
99 static __inline__ int bad_mask(u32 mask, u32 addr)
101 if (addr & (mask = ~mask))
103 mask = ntohl(mask);
104 if (mask & (mask+1))
161 static __inline__ int inet_mask_len(__u32 mask)
163 if (!(mask = ntohl(mask)))
165 return 32 - ffz(~mask);