Commit graph

384 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Bob Halley
507fa57547 add 1999-07-15 20:12:47 +00:00
Bob Halley
c65d0c4346 add ipv6.o; search for includes in build dir include 1999-07-15 20:12:37 +00:00
Bob Halley
86bbe826f0 add protocol family 1999-07-15 20:11:35 +00:00
Bob Halley
1d29f10aef add isc_sockaddr_v6fromin() and isc_sockaddr_pf() 1999-07-15 20:10:57 +00:00
Bob Halley
ae35d63c9d memset structures to 0; add isc_sockaddr_v6fromin() and isc_sockaddr_pf() 1999-07-15 20:10:38 +00:00
Bob Halley
9bdb8a4008 search for includes in build dir unix/include 1999-07-15 20:09:12 +00:00
Michael Graff
0d3119d4d1 Generalize ISC_R_TASKSHUTTINGDOWN to ISC_R_SHUTTINGDOWN 1999-07-14 22:15:29 +00:00
Bob Halley
bed86971bf add isc_app_onrun 1999-07-14 02:03:44 +00:00
Bob Halley
80d177d3b1 add APP event class 1999-07-14 02:03:18 +00:00
Bob Halley
55396fb3fb add ISC_R_ALREADYRUNNING 1999-07-14 02:03:04 +00:00
Bob Halley
694c897b20 mkdep support 1999-07-13 20:12:47 +00:00
Bob Halley
1e0134b61e sigwait() apparently blocks SIGABRT on linux, causing the main thread
to hang around instead of exiting if a child thread calls abort().  We now
listen for SIGABRT.
1999-07-13 02:22:11 +00:00
Bob Halley
8f0c024bf0 include <arpa/inet.h> 1999-07-13 02:01:06 +00:00
Bob Halley
ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00
Bob Halley
62252f8b2e make enum constant names agree with type name 1999-07-13 01:47:08 +00:00
Bob Halley
e7af758752 revise comment 1999-07-13 01:46:53 +00:00
Bob Halley
1ece2b413f add isc_sockaddr_from{in,in6} 1999-07-13 01:46:15 +00:00
Brian Wellington
65c4736d9c Added underlying DNSSEC support (dst and crypto libraries) 1999-07-12 20:08:42 +00:00
Bob Halley
e430659af6 lint 1999-07-12 19:34:46 +00:00
Bob Halley
3724ec85fb isc_sockaddr_equal() wasn't matching sockets that really were equal because
it was comparing the sin_zero fields which weren't equal.
1999-07-12 18:43:53 +00:00
Bob Halley
f26747f494 event tags are now void * 1999-07-10 01:05:54 +00:00
Bob Halley
8a4f36567a add unsending and sendanddetach 1999-07-10 01:00:55 +00:00
Bob Halley
ad555ae689 Shutdown now implicitly occurs if there are no references to a task
and its event queue is empty.
The DONEOK flag is forced to true if there are no references to a task,
its event queue is empty, and it is shutting down.
Add isc_task_unsend() and isc_task_unsendrange().
Add isc_task_sendanddetach().
Event tags are now void *.
Code cleanups.
Various shutdown bug fixes.
Make tracing messages prettier.
1999-07-10 01:00:05 +00:00
Bob Halley
9db3eaed95 the event tag is now a void * 1999-07-10 00:55:07 +00:00