Commit Graph

545 Commits

Author SHA1 Message Date
Bob Halley
d8705ff90a Break msginit() into msginitheader() and msginitprivate().
Put MAGIC macros into the DNS_ namespace.
Take name cleanup code from msgreset() and put it into msgresetnames().
In dns_message_create(), the intent is now specified before the returned
message pointer.
dns_message_reset() now allows an intent to be specified.
msg->header_ok is set if parsing the header succeeded, and msg->question_ok
is set if parsing the question section succeeded.
Added dns_message_reply().
1999-07-24 01:09:04 +00:00
Bob Halley
4034b7d6ed Declare types in <dns/types.h>.
Put MAGIC macros into the DNS_ namespace.
Added header_ok and question_ok to the message structure.
Specify the intent before the returned message pointer in
dns_message_create().
Allow an intent to be specified when calling dns_message_reset().
Add dns_message_reply().
1999-07-24 01:05:22 +00:00
Bob Halley
2fc77eff62 move types to <dns/types.h> 1999-07-24 01:02:30 +00:00
Bob Halley
937f9db1ed add opcode, message, dispatch, and view types; list TSIG errors 1999-07-24 01:02:07 +00:00
Bob Halley
613991eef6 TSIG errors are not rcodes; add BADVERS rcode 1999-07-24 01:01:08 +00:00
Bob Halley
2e715dbdc2 fix spelling error 1999-07-24 00:59:55 +00:00
Bob Halley
25e43e68b7 rcode result type support; cleanups 1999-07-24 00:59:26 +00:00
Andreas Gustafsson
18cd3d3db4 typo 1999-07-23 12:05:50 +00:00
Andreas Gustafsson
96594ea32e define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency 1999-07-23 09:15:10 +00:00
Andreas Gustafsson
da378e384b define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency; add some meta-types 1999-07-23 09:14:36 +00:00
Michael Graff
6f1422b81e fix many bugs. 1999-07-22 01:34:31 +00:00
James Brister
265cfd9711 Config file yacc parser. 1999-07-20 20:19:24 +00:00
James Brister
0eb5c95878 Config library implementation files. 1999-07-19 13:25:18 +00:00
James Brister
bbe0dc743b New config file library headers. 1999-07-19 13:14:12 +00:00
Bob Halley
8360c3dc0f eliminate inet.h; do not use UNIX-specific .h files 1999-07-16 00:24:33 +00:00
Bob Halley
acdd6cd35f search for includes in build dirs isc/unix/include and dns/include 1999-07-15 20:08:03 +00:00
Bob Halley
50826c269d search for includes in build dir isc/unix/include 1999-07-15 20:07:39 +00:00
Bob Halley
1471a520e5 use single-colon rule for sec and depend; gen structure .h in build dir 1999-07-15 20:06:34 +00:00
Michael Graff
3446e5e932 Don't allow responses/requests to be attached to dispatchers which are
shutting down
1999-07-14 22:16:19 +00:00
Bob Halley
694c897b20 mkdep support 1999-07-13 20:12:47 +00:00
Bob Halley
332d9b3837 use isc_uint16_t, not u_int16_t 1999-07-13 19:42:25 +00:00
Bob Halley
8324aeb090 lint 1999-07-13 19:42:01 +00:00
Bob Halley
5a788b17a4 include <string.h> to get prototype for memcpy(). 1999-07-13 17:26:07 +00:00
Bob Halley
b6412b0788 add 1999-07-13 01:53:40 +00:00
Bob Halley
1c724c986d add rdataset cloning 1999-07-13 01:50:22 +00:00
Bob Halley
ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00
Michael Graff
2743e0ce08 s/dns_dispatch_destroy()/dns_dispatch_detach()/g 1999-07-13 00:25:21 +00:00
Michael Graff
5039f2cad3 don't modify the buffer passed in for peekheader() 1999-07-12 23:46:37 +00:00
Michael Graff
c6066a8e67 make this (mostly) work with tcp 1999-07-12 23:44:31 +00:00
Michael Graff
9e9630faca make this work. tcp messages are now working (receive at least) 1999-07-12 23:43:45 +00:00
Brian Wellington
65c4736d9c Added underlying DNSSEC support (dst and crypto libraries) 1999-07-12 20:08:42 +00:00
Bob Halley
f26747f494 event tags are now void * 1999-07-10 01:05:54 +00:00
Bob Halley
b7fe872457 the tag field is now obsolete 1999-07-10 01:04:12 +00:00
Bob Halley
9db3eaed95 the event tag is now a void * 1999-07-10 00:55:07 +00:00
Michael Graff
c869cd3d6e clamp to max packet size 1999-07-10 00:53:57 +00:00
Michael Graff
cd5b3f4f1f set task = NULL so we can't use it later on accident. 1999-07-10 00:21:42 +00:00
Michael Graff
212e466f42 implement tcp messages (recv part) 1999-07-10 00:15:53 +00:00
Michael Graff
04135883be cleanup a few return codes 1999-07-10 00:15:41 +00:00
Michael Graff
a4e7a96dd4 checkpoint 1999-07-09 23:46:05 +00:00
Michael Graff
111bf2b31d another event for tcpmsg 1999-07-09 23:46:02 +00:00
Michael Graff
7f1bd55920 s/printf/XDEBUG()/g 1999-07-09 20:42:55 +00:00
Michael Graff
bd7237e653 add another REQUIRE() where it might help 1999-07-09 20:34:26 +00:00
Michael Graff
c16cc434ef checkpoint; add dns_dispatch_getsocket() to return the socket being used 1999-07-09 20:32:12 +00:00
Andreas Gustafsson
f8aae50268 added dns_rdatatype_ismeta(); support zero-length rdata in dns_rdata_totext() 1999-07-09 12:48:51 +00:00
Andreas Gustafsson
5cc89b11fa added dns_rdatatype_ismeta() 1999-07-09 12:47:28 +00:00
Michael Graff
6fe411037d checkpoint 1999-07-09 02:47:55 +00:00
Michael Graff
58efc48a96 checkpoint 1999-07-09 01:57:55 +00:00
Michael Graff
d1ba6e9180 snapshot 1999-07-09 00:51:08 +00:00
Michael Graff
0b14ebe313 checkpoint 1999-07-08 22:12:37 +00:00
Michael Graff
1ec39fc7a8 checkpoint 1999-07-08 02:50:00 +00:00