2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

55 Commits

Author SHA1 Message Date
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
fe5b0fdd70 - Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
6708d944e1 - Some default hash table sizes were tweaked, some upwards, some downwards.
3.1.0a1's tables resulted in a reduction in default server memory use.
  The new selected values provide more of a zero sum (increasing the size
  of tables likely to be populated, decreasing the size of tables unlikely).

- Lease structures appear in three spearate hashes: by IP address, by UID,
  and by hardware address.  One type of table was used for all three, and
  improvements to IP address hashing were applied to all three (so UID and
  hardware addresses were treated like 4-byte integers).  There are now two
  types of tables, and the uid/hw hashes use functions more appropriate
  to their needs.

- The max-lease-misbalance percentage no longer causes scheduled rebalance
  runs to be skipped: it still governs the schedule, but every scheduled
  run will attempt balance.

[ISC-Bugs #16396]
2006-10-27 22:54:13 +00:00
Shane Kerr
272ef1bca0 Hankin's fixes for hash-related core dumps on HEAD. 2006-07-25 09:59:39 +00:00
David Hankins
d19e2cf7de Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
2006-06-05 16:42:59 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
06e77c34fb Corrections to changes made on HEAD pursuant to review of changes between
V3.0.3 and HEAD.  [ISC-Bugs #15348]
2005-09-30 17:57:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
085b94452b Add a strcasecmp for comparing omapi_data_type_t's. 2001-05-02 17:00:48 +00:00
Ted Lemon
29fb0a112b Need error message translation for omapi as well. 2001-05-02 06:54:32 +00:00
Ted Lemon
9560d30a7f Make header lengths signed rather than unsigned, fix snoop_time(). 2001-02-22 06:42:32 +00:00
Damien Neil
743f0d251c Change the index element of omapi_listener_object_t from an int32_t
to an int, to avoid problems when passing it to omapi_array_extend()
elsewhere.
2001-02-15 20:47:10 +00:00
Ted Lemon
1bc3ffd5ad Add prototype for minires tracing. 2001-02-15 14:09:50 +00:00
Ted Lemon
a5c3f23f81 Add some more trace hooks. 2001-02-15 05:36:40 +00:00
Ted Lemon
640e5e3df5 Add support for omapi extensible arrays. 2001-02-12 20:46:48 +00:00
Ted Lemon
4eed13913d Trace-related changes. 2001-02-12 20:46:19 +00:00
Ted Lemon
009c027917 Trace-related definitions and prototypes. 2001-02-12 20:45:29 +00:00
Ted Lemon
e0de25c53b Add an rc_history_count variable so that we can see if the history overflew 2001-01-25 08:26:36 +00:00
Ted Lemon
c4403423ed Add omapi object initializer to object type structure. 2000-10-10 23:00:31 +00:00
Ted Lemon
f73cec8979 Include memory.h so that we don't get warnings from gcc about using memcmp. 2000-09-05 17:30:42 +00:00
Ted Lemon
4b63c26ef8 Use unsigned char instead of u_char. 2000-08-17 19:43:04 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Damien Neil
c62871ba64 Moved hash.c from libdhcp to libomapi, in anticipation of moving the
tsig_key structure into libomapi.  (tsig_keys are stored in a hashtable,
and libomapi should not depend on libdhcp.)
2000-08-01 22:55:07 +00:00
Damien Neil
c8d531a6f9 Moved convert.c from libdhcp to libomapi. (libomapi should not depend
on libdhcp.)
2000-08-01 22:34:36 +00:00
Ted Lemon
0b1e395f13 Adjust arguments to omapi_object_type_register 2000-07-06 22:37:53 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
dc22b3875b Add omapi_unregister_io_object prototype. 2000-05-03 06:11:29 +00:00
Ted Lemon
0a34ddfdfe Put address list scan state info into connection object. 2000-05-01 23:44:34 +00:00
Ted Lemon
40935cbfd6 Add support for new address list type, and for new connect and listen APIs. 2000-05-01 23:43:31 +00:00
Ted Lemon
8dfa97ddef Always define MDL to pass a filename and line number. 2000-04-06 22:51:32 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
e6e36dea92 Get rid of alphaosf workaround - found a better one. 2000-02-03 03:50:08 +00:00
Ted Lemon
3a6b1f5822 Don't include BIND 8 resolver files anymore. 2000-02-02 08:20:46 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
bc7b98ab10 Add reference pointer to rc history structure. 2000-01-27 23:37:59 +00:00
Ted Lemon
400c0b19be Move log functions to omapip_p.h because they require cdefs.h. 2000-01-27 23:37:38 +00:00
Ted Lemon
b4f786d47e - In reference count history, remember the address where the reference
is stored as well as the address of the thing referenced.
2000-01-27 22:20:29 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
525d9204ed Fix up some declarations. 1999-11-23 22:23:24 +00:00
Ted Lemon
7b60299c8f unsigned -> u_int32_t 1999-11-23 19:06:48 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
88be0390f1 Get rid of broken BUFFER_BYTES_AVAIL macro, replace it with new macros. 1999-10-19 15:33:17 +00:00
Ted Lemon
444dcb2b79 Automatically include result.h 1999-10-14 18:08:06 +00:00
Ted Lemon
a804d24e26 Get rid of u_* declarations for portability. 1999-10-08 17:19:41 +00:00
Ted Lemon
e9d8afd106 Private definitions for omapip library. 1999-10-08 16:30:55 +00:00
Ted Lemon
6a4c4be871 Seperate public and private object declarations. 1999-10-08 03:43:15 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
c859d3b834 Make Digital Unix C compiler happy. 1999-10-06 22:37:14 +00:00