Home
last modified time | relevance | path

Searched refs:NIFBITS (Results 1 – 1 of 1) sorted by relevance

/external/kernel-headers/original/linux/
Dmroute6.h44 #define NIFBITS (sizeof(if_mask) * 8) /* bits per mask */ macro
51 if_mask ifs_bits[DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
54 #define IF_SET(n, p) ((p)->ifs_bits[(n)/NIFBITS] |= (1 << ((n) % NIFBITS)))
55 #define IF_CLR(n, p) ((p)->ifs_bits[(n)/NIFBITS] &= ~(1 << ((n) % NIFBITS)))
56 #define IF_ISSET(n, p) ((p)->ifs_bits[(n)/NIFBITS] & (1 << ((n) % NIFBITS)))