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

435 Commits

Author SHA1 Message Date
Mark Andrews
901b5fb3b3 Initial Implementation. 1999-02-02 04:52:31 +00:00
Bob Halley
a48fa4b49c add 1999-02-02 02:07:21 +00:00
Bob Halley
990fe8c3a9 do not link with lex/yacc libraries 1999-02-02 01:44:15 +00:00
Bob Halley
8272eed68f fix typo 1999-02-02 01:43:47 +00:00
Bob Halley
f0bbac2c0f signed vs. unsigned fix 1999-02-02 01:28:48 +00:00
Mark Andrews
12a12d8ab4 Initial Implementation 1999-02-02 01:19:22 +00:00
Bob Halley
fe47f41b13 eliminate compiler warnings (signed vs. unsigned) 1999-02-02 01:18:51 +00:00
Bob Halley
1c969834dc do not build parser 1999-02-02 01:18:38 +00:00
Bob Halley
af6dfd762e eliminate compiler warnings (char vs. uchar) 1999-02-02 01:17:49 +00:00
Bob Halley
7c0876aa42 initial HP-UX support 1999-02-02 01:17:05 +00:00
Bob Halley
5a7a0823f4 fix cut-and-paste error 1999-02-02 00:39:44 +00:00
Bob Halley
6acb28c304 use isc_inet_pton 1999-02-02 00:38:50 +00:00
Bob Halley
28ed301319 Solaris port: inet_pton, AF_INET6 1999-02-02 00:38:23 +00:00
Bob Halley
a6d40879d4 add inet_pton 1999-02-02 00:37:09 +00:00
Mark Andrews
a3c5ba000a Initial implementation 1999-02-01 23:49:47 +00:00
Mark Andrews
12c6f4b3b2 SRV RR 1999-02-01 22:05:56 +00:00
Mark Andrews
fcf8db89e6 EID, NIMLOC 1999-02-01 21:34:51 +00:00
Bob Halley
2bbc9da7cf update 1999-02-01 21:23:31 +00:00
Bob Halley
a99979c686 add dns_db_origin 1999-02-01 21:21:35 +00:00
Bob Halley
1ed857d600 deal with names outside of the db; auth vs. nonauth 1999-02-01 21:11:47 +00:00
Bob Halley
98d3b18373 make mem stats printing optional 1999-02-01 21:11:10 +00:00
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