RE: NS_NXT_BITS for NSEC records

2009-04-02 Thread Jack Tavares
: Thursday, April 02, 2009 14:13 To: bind-users@lists.isc.org Subject: NS_NXT_BITS for NSEC records Hello - In libbind-6.0b1/includ/arpa/nameser.h there are some convenience macros for parsing the type bits for NXT records /* How RR types are represented as bit-flags in NXT records */ #define NS_NXT_BITS

NS_NXT_BITS for NSEC records

2009-04-02 Thread Jack Tavares
Hello - In libbind-6.0b1/includ/arpa/nameser.h there are some convenience macros for parsing the type bits for NXT records /* How RR types are represented as bit-flags in NXT records */ #define NS_NXT_BITS 8 #define NS_NXT_BIT_SET( n,p) (p[(n)/NS_NXT_BITS] |= (0x80>>((n)%NS_NXT_BITS))) #define