Tinderbox User
5e93bad21b
update copyright notice / whitespace
2015-03-01 23:45:20 +00:00
Tinderbox User
34eab435ac
update copyright notice / whitespace
2015-02-27 23:45:24 +00:00
Mark Andrews
a8da00ef95
4079. [func] Preserve the case of the ownername of records to
...
the RRset level. [RT #37442 ]
2015-02-27 15:08:38 +11:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
641f68d427
update copyright notice
2006-03-02 00:37:23 +00:00
Mark Andrews
45e1bd6358
1991. [cleanup] The configuration data, once read, should be treated
...
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813 ]
2006-02-28 02:39:52 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
408767b505
update copyright notice
2005-03-06 15:30:37 +00:00
Mark Andrews
39c7fc7e00
1811. [func] Preserve the case of domain names in rdata during
...
zone transfers. [RT #13547 ]
2005-03-04 02:56:21 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
c569a0e4d5
1582. [bug] rrset-order failed to work on RRsets with more
...
than 32 elements. [RT #10381 ]
2004-02-19 01:23:42 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Brian Wellington
507102c95a
In dns_compress_invalidate(), cctx->table cannot be NULL, since it's part of
...
the cctx structure.
2001-02-15 01:14:16 +00:00
Brian Wellington
29daf5bc77
The suffix returned by dns_compress_findglobal() is never used, so remove it.
2001-02-12 18:07:52 +00:00
Brian Wellington
82ecc44b96
another micro-optimization.
2001-02-10 02:55:05 +00:00
Brian Wellington
64e7f8541d
optimization - if the compression table for a message is empty, don't
...
hash and look up each label.
2001-02-10 01:18:19 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Brian Wellington
5d18f1205a
remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
...
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
b363c64ed6
sizeof() style; added comment
2001-01-07 22:01:12 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Brian Wellington
dacf0cc454
Merged the private functions compress_add and compress_find into
...
dns_compress_add and dns_compress_findglobal.
2000-12-29 19:38:50 +00:00
Brian Wellington
bb88eab95f
fix an uninitialized variable; reformat some >80 character lines
2000-12-29 18:49:36 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
35c0626628
Don't ever send GLOBAL16 compression, not even if edns>=1. Since the
...
edns1 I-D has expired, no one knows what edns level 1 will mean, and it may end up not
implying support for GLOBAL16. We are still liberal in what we accept; GLOBAL16
is accepted in packets we receive.
2000-05-04 22:36:24 +00:00
Andreas Gustafsson
94a08e09db
Check for edns1 and strict decompression once and for all in
...
dns_[de]compress_setmethods instead of separately in every caller
2000-05-04 22:19:34 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
Bob Halley
89b117b756
performance improvements
2000-04-27 21:46:31 +00:00
David Lawrence
a231769eaa
Made compress_add and compress_find static to lib/dns/compress.c
2000-04-27 00:08:44 +00:00
David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Bob Halley
41c82f9355
conform to RBT API change
2000-04-19 18:27:24 +00:00
David Lawrence
7b4e52d119
include dns/rbt.h
2000-04-12 21:25:10 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
David Lawrence
ecb6c5782e
exorcized local compression
2000-03-23 05:18:46 +00:00
Andreas Gustafsson
2539896175
do not indent CVS ID comment
2000-03-17 17:49:37 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Andreas Gustafsson
d5017b061c
typo in comment
2000-02-02 00:38:28 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Mark Andrews
d5850aa99c
compress_find() could return a pointer to stack memory.
1999-05-26 00:34:54 +00:00
Mark Andrews
b75ba761f4
removed debugging code
1999-05-10 00:38:52 +00:00
Mark Andrews
c1e7aff941
Implement compression pointer rollback.
...
dns_compress_backout() -> dns_compress_rollback()
1999-05-03 03:07:16 +00:00
Mark Andrews
1d6572f9d4
adjust #ifdef labels
1999-04-28 03:16:50 +00:00
Mark Andrews
a41d348e14
Local compression fixes to use rbt bitstrings.
1999-04-28 03:03:56 +00:00