#include <isc/int.h>
#include <isc/boolean.h>
Go to the source code of this file.
Defines | |
#define | DNS_BIT_H 1 |
#define | DNS_BIT_SET(bit, bitset) (*(bitset) |= ((dns_bitset_t)1 << (bit))) |
#define | DNS_BIT_CLEAR(bit, bitset) (*(bitset) &= ~((dns_bitset_t)1 << (bit))) |
#define | DNS_BIT_CHECK(bit, bitset) |
Typedefs | |
typedef isc_uint64_t | dns_bitset_t |
Definition in file bit.h.
#define DNS_BIT_SET | ( | bit, | |||
bitset | ) | (*(bitset) |= ((dns_bitset_t)1 << (bit))) |
Definition at line 30 of file bit.h.
Referenced by dns_peer_setbogus(), dns_peer_setednsversion(), dns_peer_setforcetcp(), dns_peer_setmaxudp(), dns_peer_setnotifydscp(), dns_peer_setprovideixfr(), dns_peer_setquerydscp(), dns_peer_setrequestexpire(), dns_peer_setrequestixfr(), dns_peer_setrequestnsid(), dns_peer_setrequestsit(), dns_peer_setsupportedns(), dns_peer_settransferdscp(), dns_peer_settransferformat(), dns_peer_settransfers(), and dns_peer_setudpsize().
#define DNS_BIT_CLEAR | ( | bit, | |||
bitset | ) | (*(bitset) &= ~((dns_bitset_t)1 << (bit))) |
#define DNS_BIT_CHECK | ( | bit, | |||
bitset | ) |
Value:
ISC_TF((*(bitset) & ((dns_bitset_t)1 << (bit))) \ == ((dns_bitset_t)1 << (bit)))
Definition at line 34 of file bit.h.
Referenced by dns_peer_getbogus(), dns_peer_getednsversion(), dns_peer_getforcetcp(), dns_peer_getmaxudp(), dns_peer_getnotifydscp(), dns_peer_getprovideixfr(), dns_peer_getquerydscp(), dns_peer_getrequestexpire(), dns_peer_getrequestixfr(), dns_peer_getrequestnsid(), dns_peer_getrequestsit(), dns_peer_getsupportedns(), dns_peer_gettransferdscp(), dns_peer_gettransferformat(), dns_peer_gettransfers(), dns_peer_getudpsize(), dns_peer_setbogus(), dns_peer_setforcetcp(), dns_peer_setmaxudp(), dns_peer_setprovideixfr(), dns_peer_setrequestexpire(), dns_peer_setrequestixfr(), dns_peer_setrequestnsid(), dns_peer_setrequestsit(), dns_peer_setsupportedns(), dns_peer_settransferformat(), dns_peer_settransfers(), and dns_peer_setudpsize().
typedef isc_uint64_t dns_bitset_t |