Bob Halley
a6ebd71eed
tweaks to dns_message_reply()
1999-07-29 01:26:53 +00:00
Bob Halley
f4e535251b
Detach from the correct task when canceling.
1999-07-28 23:25:16 +00:00
Michael Graff
11e2a221f1
hack on socket code more, trying to track down a bug
1999-07-28 23:04:33 +00:00
Michael Graff
d524cd03ec
make the isc_socket_recv() partial flag be a byte count instead, which allows
...
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
Michael Graff
9bde328d3b
extremely minor formatting
1999-07-28 07:02:56 +00:00
Michael Graff
863563c38b
make writing use one event, too
1999-07-28 06:50:10 +00:00
Andreas Gustafsson
8c55a67a6d
null pointer dereference
1999-07-28 05:23:16 +00:00
Bob Halley
5fc1b54cc6
allow undedication of the dedicated buffer
1999-07-28 02:20:22 +00:00
Bob Halley
996028142c
update message reply support
1999-07-28 02:19:46 +00:00
Michael Graff
39fba32b02
oops, no debugging :)
1999-07-28 01:15:12 +00:00
Michael Graff
231c2cf614
use one internal event for connects and receives. Writes will be done shortly.
1999-07-28 01:07:21 +00:00
Brian Wellington
991322a2ab
A TSIG record's class should be ANY, not that of the question
1999-07-26 17:00:34 +00:00
Bob Halley
711b0bed7b
rcode was initialized incorrectly in dns_result_torcode()
1999-07-24 01:28:52 +00:00
Bob Halley
aa23c665d8
resolver checkpoint
1999-07-24 01:26:18 +00:00
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
Bob Halley
dbc08baf16
move timer types to <isc/types.h>
1999-07-24 00:57:37 +00:00
Bob Halley
a0f6e78b74
add helpful macros; add ISC_RESULTCLASS_DNSRCODE
1999-07-24 00:57: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
William King
ca71fc20eb
added timeout of tests, ability to run tests in a subproc to allow
...
continuation after exception generation, and general improvement
1999-07-22 14:35:12 +00:00
William King
43aa163a6a
sync with new improved version of lib/tests/t_api.h
1999-07-22 14:33:38 +00:00
Michael Graff
6f1422b81e
fix many bugs.
1999-07-22 01:34:31 +00:00
Bob Halley
67e33ba670
we were purging the wrong event ranges
1999-07-21 21:18:10 +00:00
Andreas Gustafsson
ca485ab26f
sysctl-based network interface list scanning
1999-07-21 08:07:55 +00:00
James Brister
265cfd9711
Config file yacc parser.
1999-07-20 20:19:24 +00:00
Bob Halley
2f3cfa8c02
isc_net_haveipvN to isc_net_probeipvN
1999-07-19 23:54:09 +00:00
Bob Halley
595cc914dd
lint
1999-07-19 23:54:03 +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
727524f623
simply AF_INET6 and PF_INET6 checking
1999-07-16 00:56:59 +00:00
Bob Halley
489b3eb09a
check for PF_INET
1999-07-16 00:52:58 +00:00
Bob Halley
270cd94d55
change isc_inet_ to isc_net_
1999-07-16 00:43:45 +00:00
Bob Halley
a761b4cd8d
forgot to change isc_inet_ to isc_net_
1999-07-16 00:43:18 +00:00
Bob Halley
f39ac70180
move isc_rwlock_t declaration to types.h
1999-07-16 00:28:14 +00:00
Bob Halley
81173c9bb3
inet.h is no longer relevant
1999-07-16 00:27:49 +00:00
Bob Halley
e9c5347c19
add support for inet_{ntop,pton,aton}
1999-07-16 00:27:15 +00:00
Bob Halley
fef7437f8f
add netdb.h
1999-07-16 00:26:31 +00:00
Bob Halley
0d1f8c2672
eliminate inet.h and extra sys/ includes
1999-07-16 00:25:59 +00:00
Bob Halley
0011d936a5
link in unix/ipv6.o if required
1999-07-16 00:25:19 +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
da4920783e
eliminate inet.h; cleanups; do not use UNIX-specific .h files
1999-07-16 00:24:04 +00:00
Bob Halley
b8e1e8f743
ensure INADDR_ANY, IN6ADDR_ANY_INIT, in6addr_any, and in6addr_loopback defined
1999-07-15 20:15:03 +00:00
Bob Halley
705a1d752e
add any and loopback support
1999-07-15 20:13:12 +00:00