Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/linux/
Dmroute6.h55 #define NIFBITS (sizeof(if_mask) * 8) macro
57 if_mask ifs_bits[__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
59 #define IF_SET(n,p) ((p)->ifs_bits[(n) / NIFBITS] |= (1 << ((n) % NIFBITS)))
60 #define IF_CLR(n,p) ((p)->ifs_bits[(n) / NIFBITS] &= ~(1 << ((n) % NIFBITS)))
61 #define IF_ISSET(n,p) ((p)->ifs_bits[(n) / NIFBITS] & (1 << ((n) % NIFBITS)))