Commit graph

897 commits

Author SHA1 Message Date
Andreas Gustafsson
7e006df76f reordered copyright messages so that the ISC 'portions' copyright
can be automatically maintained
2000-06-09 21:23:19 +00:00
Andreas Gustafsson
1cad45e9cf whitespace changes in copyright message 2000-06-09 20:59:32 +00:00
Andreas Gustafsson
db03efe326 changed copyright years to 1999,2000 per util/copyrights 2000-06-09 20:57:29 +00:00
Michael Graff
b90f80957a use create/attach/detach semantics 2000-06-09 19:18:56 +00:00
Michael Graff
24629383aa kill printf 2000-06-09 18:46:17 +00:00
Michael Graff
348f351145 checkpoint 2000-06-09 18:45:51 +00:00
Michael Graff
99bec2168f checkpoint 2000-06-09 18:33:35 +00:00
Michael Graff
b8feb9c67c checkpoint 2000-06-09 18:22:11 +00:00
Michael Graff
630a955711 checkpoint 2000-06-09 17:48:08 +00:00
Michael Graff
b48abf6b85 snapshot 2000-06-09 17:25:41 +00:00
Mark Andrews
ce1b0e505e INSIST() on sane time from the kernel. 2000-06-09 06:01:37 +00:00
Michael Graff
e596c6fe81 make it build. 2000-06-09 04:06:06 +00:00
Michael Graff
c6e2d36708 snapshot 2000-06-09 02:00:22 +00:00
Michael Graff
9403a56228 checkpoint 2000-06-09 00:11:39 +00:00
Michael Graff
118332fc5c snapshot 2000-06-08 23:42:17 +00:00
David Lawrence
6ba9a50031 need errno.h for errno 2000-06-08 23:20:01 +00:00
Michael Graff
60a7475dd8 checkpoint 2000-06-08 22:18:53 +00:00
Michael Graff
81b7c342c4 s/ISC_R_ENTROPY/ISC_R_NOENTROPY/g 2000-06-08 22:17:03 +00:00
David Lawrence
076f3bc6ad use ANSI memset instead of bzero 2000-06-08 20:42:11 +00:00
Michael Graff
d10733a5a3 add ISC_R_ENTROPY 2000-06-08 19:23:04 +00:00
Michael Graff
016742f7d8 add stirring functions and other bits. Snapshot. 2000-06-08 06:35:49 +00:00
Michael Graff
1e3c9ce3ab kill a warning on some systems. 2000-06-08 05:26:00 +00:00
Michael Graff
ccc067f7d5 enable INSIST/REQUIRE() checking of bound status on sockets 2000-06-08 00:23:54 +00:00
Michael Graff
270ad529d3 snapshot 2000-06-07 22:15:55 +00:00
Michael Graff
17b8fc714a snapshot 2000-06-07 20:55:12 +00:00
Michael Graff
90407942d3 Use autoconf's AC_C_BIGENDIAN macro to detect endian flavor, and use WORDS_BIGENDIAN from config.h{,.in} 2000-06-07 19:41:49 +00:00
Brian Wellington
1ee3b153b6 Added length constants, changed _final parameter from array to pointer. 2000-06-07 02:28:43 +00:00
Michael Graff
fbb2ab3056 md5 endian doesn't seem to matter? 2000-06-07 02:21:39 +00:00
Michael Graff
f2314fbd79 fix comments 2000-06-07 01:17:06 +00:00
Michael Graff
db4871e843 complain if BYTE_ORDER isn't defined 2000-06-07 01:14:26 +00:00
Michael Graff
bb2d54f1b3 build md5.c 2000-06-07 00:49:04 +00:00
Michael Graff
801c511ecd s/u_int/unsigned int/g 2000-06-07 00:30:42 +00:00
Michael Graff
676c534c8d We really don't need to export the sha1 transform() function, it is internal only. 2000-06-07 00:22:32 +00:00
Michael Graff
74da616f07 add sha1 implementation 2000-06-07 00:15:19 +00:00
David Lawrence
5fda9ca75a redefined ISC_OFFSET_MAXIMUM 2000-06-06 22:10:10 +00:00
Brian Wellington
54ef500660 Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern
defaulting to ISC_FALSE.
2000-06-06 18:07:38 +00:00
Brian Wellington
4c050ce9dc typo 2000-06-06 17:57:58 +00:00
Brian Wellington
36bcb04af2 If ISC_MEM_DEBUG is enabled, the variable isc_mem_debugging controls
whether messages are printed or not.
2000-06-06 17:50:43 +00:00
Andreas Gustafsson
f6684513fa style; no functional change 2000-06-06 17:50:38 +00:00
Andreas Gustafsson
ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
David Lawrence
ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
Michael Graff
527bf54995 s/u_int32_t/isc_uint32_t/g 2000-06-03 05:38:29 +00:00
Michael Graff
2f1059efb7 checkpoint 2000-06-03 02:15:08 +00:00
Michael Graff
9f732d73da put the correct (new) socket on the linked list, not the existing (listen) socket. 2000-06-02 20:09:01 +00:00
Brian Wellington
ac37a32d23 If isc_log_settag() was used to set a non-NULL tag, the allocated memory
was never freed.
2000-06-02 18:15:45 +00:00
Andreas Gustafsson
35af0018dd made isc_sockaddr_totext() return failure rather than catch an
assertion when confronted with an unsupported address family, like it used to
before it was changed to use isc_netaddr_totext() internally
2000-06-02 17:48:31 +00:00
Michael Graff
0a161e9da7 use a linked list, rather than a counter, to keep track of sockets. This makes
debugging easier.  Also, while here, s/EMPTY/ISC_LIST_EMPTY/g
2000-06-02 01:27:27 +00:00
David Lawrence
87cafc5e70 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Michael Graff
bfd98dd959 don't log ports where they don't make sense 2000-05-31 23:03:01 +00:00