2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

13514 Commits

Author SHA1 Message Date
Bob Halley
9ec6d5f03d remove various minor compilation warnings 1999-02-01 20:47:58 +00:00
Bob Halley
d55fedfce0 initialize values to avoid INSIST(l->nwactive == 0) when starting 1999-02-01 20:37:40 +00:00
Mark Andrews
8a17d1e7cd added decvalue 1999-02-01 07:59:43 +00:00
Mark Andrews
d42be4bb84 LOC 1999-02-01 07:58:13 +00:00
David Lawrence
8e1f35e1d7 free ancestor memory allocated in addonlevel 1999-02-01 03:26:00 +00:00
Mark Andrews
e4bea1f716 Added GPOS and AAAA 1999-02-01 00:15:55 +00:00
Mark Andrews
eb7a2b3291 PX X.400 mail mapping information 1999-01-31 22:38:40 +00:00
David Lawrence
265c6d0526 the space for the ancestor chain in addonlevel is now dynamic. 1999-01-31 19:55:52 +00:00
David Lawrence
b6d5a6722c parser.c, parser_p.h, lexer.c are all generated by Makefile 1999-01-31 18:47:57 +00:00
David Lawrence
4c4f13cea3 rbt_test.txt now checks more conditions in the deletion algorithm.
rbt_test.out is what the output should be.
1999-01-31 18:45:34 +00:00
David Lawrence
94231e2288 added a function for getting space for ancestor nodes in the node_chain,
and use it within dns_rbt_findnode.

moved the guts of dns_rbt_deletename into its own function to clean up
the freeing of ancestor memory into just one location.

deletefromlevel required that ancestor_count be > 1, which would abort
trying to delete the root of the tree when the root had no children.
1999-01-31 18:43:57 +00:00
David Lawrence
97940a084c don't free the down data pointer in join_nodes. (what was i thinking?!)
do free the ancestor chain in dns_rbt_deletename
1999-01-31 16:50:01 +00:00
David Lawrence
0d73b3fffe test the data deleter callback by making the data pointer for each node be
dynamic memory.

have 'search' print the name stored at the node's data pointer.
1999-01-31 16:45:48 +00:00
Michael Graff
e5e8a126ab make tcp queries (where the output is slightly offset from the start
of the buffer, for length of tcp packet) work again.
1999-01-31 12:58:16 +00:00
Michael Graff
51c0bc9e3d Actually answers queries! 1999-01-31 12:31:31 +00:00
David Lawrence
d65db52903 deletetree does not take a root parameter any more.
removed the SET_foo macros left over from the rbtgen.c pseudo-code.
1999-01-31 01:35:04 +00:00
David Lawrence
5a90bf50a8 Fixed up calls to dns_rbt_create and dns_rbt_findnode, which changed
in rbt.c
1999-01-31 01:00:57 +00:00
David Lawrence
fbcd8c7a5c delete does not now do recursive deletion.
new function nuke does what delete did.

fixed up some changed interfaces to the dns_rbt library.
1999-01-31 00:54:14 +00:00
David Lawrence
0f5962ac3e many changes.
ancestor/level history no longer kept in rbt structure; node_chain structure
was created for this purpose, and each dns_rbt_deletename call will pass
the chain structure to dns_rbt_findnode.

color enum removed from rbtnode structure; single bit used instead

length of name in rbtnode no longer kept as int in rbtnode structure;
stored as single byte just past end of rbtnode, and the actual name data starts
two bytes past the end.

dns_rbt_create takes additional argument that is a pointer to a function
which is responsible for deleting the space pointed to by an rbtnode's data
pointer when the node is removed.

dns_rbt_addnode renamed to dns_rbt_addonlevel so that dns_rbt_addnode could
be a public function that can provide the address of the new node back
to the caller.

removed several #if 0 blocks that were held over from when parent pointers
were used.
1999-01-31 00:52:53 +00:00
David Lawrence
8d320be20d name length removed from structure; value is stored in single byte immediately
after the structure.

color stored in single bit

references bitfield width decrease by one

typedef for a node_chain structure, used by dns_rbt_findnode

dns_rbt_create takes a new second argument that is a pointer to a function
which frees node data when the node is deleted.

dns_rbt_addnode provided to return the node that was added.
1999-01-31 00:32:51 +00:00
Mark Andrews
8aefdfc906 Missing !in_glue test. 1999-01-30 13:11:24 +00:00
Bob Halley
ccbfddc70e dns_rdataset_towire() now returns the number of RRs added to target 1999-01-30 05:01:01 +00:00
Michael Graff
c810fcbf6c Add isc_inet_aton() and a check to use system inet_aton() 1999-01-30 04:27:48 +00:00
Bob Halley
70db22e93b comparisions should be case-insensitive 1999-01-30 04:27:13 +00:00
Michael Graff
8507d64d0c use isc_uint32_t and unsigned int for u_int32_t and u_int 1999-01-30 03:09:28 +00:00
Michael Graff
0e0b744f61 Make <isc/types.h> which will include all the base types like <isc/int.h>. 1999-01-30 03:09:04 +00:00
Bob Halley
c8a42d6d81 add gen to clean rule 1999-01-30 01:40:16 +00:00
James Brister
1ca02d14e4 Misc additions for the parser stuff. 1999-01-30 01:00:49 +00:00
James Brister
e6ad73aba4 Added calls to parser routines (ifdef'd out for now). 1999-01-30 01:00:20 +00:00
James Brister
4182ae60b0 Added ISC_R_INVALIDFILE 1999-01-30 00:54:32 +00:00
James Brister
b110b1bc30 Misc changes. 1999-01-30 00:53:56 +00:00
James Brister
915440a0d0 Files for the config file parsing. 1999-01-30 00:50:10 +00:00
Michael Graff
f5375f2b93 u_long u_long; -> unsigned long ulong; 1999-01-30 00:29:31 +00:00
Bob Halley
a2f5b51dff allow type and zone to be specified 1999-01-29 23:36:41 +00:00
Bob Halley
22c4f0162f look for and print ns rdatasets 1999-01-29 22:21:35 +00:00
Bob Halley
e5c2e16bb2 store node lock number; rdataset methods; find and add rdatasets 1999-01-29 22:21:13 +00:00
Bob Halley
721d4541c3 add locknum 1999-01-29 22:19:57 +00:00
Bob Halley
e496615043 add private4 and private5 1999-01-29 22:19:38 +00:00
Bob Halley
d54184ee4c current was not static; add private4 and private5; remove redundant code 1999-01-29 22:19:15 +00:00
Mark Andrews
2bc0da0cd8 Added NXT
Debugged SIG
1999-01-29 08:04:13 +00:00
Bob Halley
7c0eb86a80 checkpoint 1999-01-29 07:05:09 +00:00
Bob Halley
4dfbac7434 partial master file loading 1999-01-29 07:04:29 +00:00
Bob Halley
fec93edbae add base 1999-01-29 07:04:03 +00:00
Bob Halley
b03b67a6f1 add base, dns_db_load 1999-01-29 07:03:42 +00:00
Bob Halley
f305d86668 need multiline mode 1999-01-29 07:02:59 +00:00
Michael Graff
60cfce122f Code up a dispatch() function which will just return server failure for now.
This makes dig work, and shows that we can actually transmit as well
as receive.  Both UDP and TCP connections work, with the restriction
that a full message must be contained in each TCP write, not split across
two seperate tcp 'packets'.
1999-01-29 06:18:43 +00:00
Bob Halley
e535faecc7 add db_test 1999-01-28 23:53:36 +00:00
Bob Halley
1ccbfca64a add preliminary db support 1999-01-28 23:53:03 +00:00
Bob Halley
2cd0c38115 fix typo 1999-01-28 23:52:24 +00:00
Bob Halley
bcfcece57e add dns_name_hash 1999-01-28 23:52:00 +00:00