2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

1557 Commits

Author SHA1 Message Date
Michael Graff
0ed6a92981 clean up print.h in make distclean step 1999-09-15 23:15:57 +00:00
Michael Graff
2f072c2982 Update copyrights 1999-09-15 23:03:43 +00:00
Michael Graff
50dfb7ee4a implement mempool locking 1999-09-15 17:47:08 +00:00
Mark Andrews
0da4fbb842 added print.h 1999-09-14 04:32:26 +00:00
Mark Andrews
b1f833cea5 Allow isc/print.h to be included multiple times.
cvs: ----------------------------------------------------------------------
1999-09-14 02:40:49 +00:00
Mark Andrews
cd71050434 ISC versions of vsnprint and snprintf. 1999-09-14 02:07:03 +00:00
Michael Graff
aca2a14afc Implement MSG_TRUNC faking for UDP, on systems where recvmsg() doesn't set that
flag for us.  To see if a UDP packet was truncated, look at
done_event->attributes and see if ISC_SOCKEVENTATTR_TRUNC is set.
1999-09-13 22:00:28 +00:00
Michael Graff
07a9b8b588 Make a few helper macros which will return lengths of regions rather than
requiring an isc_region_t to fill in.  Use these macros in a few places.
1999-09-10 21:13:39 +00:00
Michael Graff
3df43dad43 Make the ISC_BUFFER_VALID() be exported from buffer.h, so bufferlist.h
can use internal buffer pointers without fear by first performing the
same validity check used in the buffer.c file.  This eliminates a
function call inside a loop, and the bufferlist.c file is really a
superset of buffers in many ways already.
1999-09-10 01:54:08 +00:00
Bob Halley
ac70da9a27 allow malloc() and free() to be replaced 1999-09-09 19:32:03 +00:00
Andreas Gustafsson
b1a67f989f ISC_LIST_APPENDLIST now clears list2 consistently 1999-09-08 05:56:21 +00:00
Bob Halley
1819606910 add bitstring 1999-09-07 01:32:27 +00:00
Michael Graff
e4f133deed Add isc_buffer_usedcount() and availablecount() -- which should become macros 1999-09-06 04:45:13 +00:00
Michael Graff
c520793fb9 Add isc_socket_sendv(), sendtov(), and recvv() that work 1999-09-06 04:44:40 +00:00
Michael Graff
85f0f10eeb add bufferlist.c and bufferlist.h 1999-09-06 04:41:38 +00:00
Bob Halley
453f3213e9 undo ISC_MEM_RECORD 1999-09-03 17:45:17 +00:00
Michael Graff
c138fc2791 multi-buffer isc_socket_recvv() -- needs testing 1999-09-03 16:38:08 +00:00
Mark Andrews
feb72cfbe7 Record where memory requests and releases were made.
Double isc_mem_put()'s well now cause an INSIST failures.
	These are on by default during development but can be turned
	off by "#define ISC_MEM_RECORD 0" or equivalent.
1999-09-03 13:19:17 +00:00
Michael Graff
9f1c521285 change some flags (so we can use internal ones, too) 1999-09-02 20:52:44 +00:00
Mark Andrews
1d23294e9a Add isc_sockaddr_totext() 1999-09-02 12:08:07 +00:00
Michael Graff
4556681e19 snapshot socket.[ch] code and commit dynbuf_t -> buffer_t changes 1999-09-02 02:10:44 +00:00
Michael Graff
0fe778098d Remove one compiler's warning by casting both sides to (void *) in a comparison. Lame, but there you have it. 1999-08-31 20:55:26 +00:00
Mark Andrews
c4ef94b1a2 Add 32 bit serial arithmetic support. 1999-08-30 14:45:01 +00:00
Michael Graff
7b0fde02e4 define a few socket event (read/write) attributes 1999-08-28 04:26:16 +00:00
Michael Graff
287a9e6ce0 reserve lower 8 bits for task library, higher 24 for application/library use 1999-08-28 04:25:48 +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
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
Andreas Gustafsson
ca485ab26f sysctl-based network interface list scanning 1999-07-21 08:07:55 +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
705a1d752e add any and loopback support 1999-07-15 20:13:12 +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
Michael Graff
0d3119d4d1 Generalize ISC_R_TASKSHUTTINGDOWN to ISC_R_SHUTTINGDOWN 1999-07-14 22:15:29 +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
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
8a4f36567a add unsending and sendanddetach 1999-07-10 01:00:55 +00:00
Bob Halley
9db3eaed95 the event tag is now a void * 1999-07-10 00:55:07 +00:00
Bob Halley
e69a743c2a use net.h 1999-07-08 00:05:32 +00:00
Bob Halley
170263fc1c activate ipv6 support 1999-07-08 00:05:24 +00:00
Bob Halley
8267cfb7fe add _hash 1999-07-08 00:04:56 +00:00
Bob Halley
9679032ec8 add 1999-07-08 00:02:44 +00:00
Bob Halley
c8e5c5f5b4 isc_sockaddr_t now has a length 1999-07-07 02:04:27 +00:00
Bob Halley
4a3b0c4ba8 style stuff 1999-07-07 02:03:49 +00:00