diff options
Diffstat (limited to 'contrib/bind/named/db_defs.h')
-rw-r--r-- | contrib/bind/named/db_defs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bind/named/db_defs.h b/contrib/bind/named/db_defs.h index 7356818..7882393 100644 --- a/contrib/bind/named/db_defs.h +++ b/contrib/bind/named/db_defs.h @@ -1,6 +1,6 @@ /* * from db.h 4.16 (Berkeley) 6/1/90 - * $Id: db_defs.h,v 8.4 1996/05/17 09:10:46 vixie Exp $ + * $Id: db_defs.h,v 8.5 1996/08/27 08:33:23 vixie Exp $ */ /* @@ -90,16 +90,15 @@ struct databuf { int16_t d_zone; /* zone number or 0 for the cache */ int16_t d_class; /* class number */ int16_t d_type; /* type number */ - int16_t d_mark; /* place to mark data */ int16_t d_size; /* size of data area */ #ifdef NCACHE - int16_t d_rcode; /* rcode added for negative caching */ + unsigned d_rcode :4; /* rcode added for negative caching */ #endif - int16_t d_rcnt; + unsigned d_rcnt :12; #ifdef STATS struct nameser *d_ns; /* NS from whence this came */ #endif -/*XXX*/ u_int32_t d_nstime; /* NS response time, milliseconds */ + u_int16_t d_nstime; /* NS response time, milliseconds */ u_char d_data[sizeof(char*)]; /* malloc'd (padded) */ }; #define DATASIZE(n) (sizeof(struct databuf) - sizeof(char*) + n) @@ -108,6 +107,7 @@ struct databuf { * d_flags definitions */ #define DB_F_HINT 0x01 /* databuf belongs to fcachetab */ +#define DB_F_ACTIVE 0x02 /* databuf is linked into a cache */ /* * d_cred definitions |