2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

592 Commits

Author SHA1 Message Date
Ted Lemon
0db87765e3 Pull up RC9 2001-06-29 18:34:57 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
07b958004f remove these from the mainline. 2001-06-27 00:13:08 +00:00
Ted Lemon
9bc62b9bb2 Add these to the mainline. 2001-06-27 00:12:02 +00:00
James Brister
899d754f27 OMAPI class and subclass support. 2001-06-22 16:47:20 +00:00
Ted Lemon
31bbee784c Sync with 3.0rc7 2001-05-17 19:04:09 +00:00
Ted Lemon
922699e857 Add a definition for fpos_t. 2001-05-03 21:07:19 +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
e448718d7c Add new tokens. 2001-05-02 06:53:49 +00:00
Ted Lemon
96c823d5e8 Add line-oriented argument to new_parse(). 2001-05-02 06:48:42 +00:00
Ted Lemon
aa2b88c211 SIOCGIFCONF API doesn't work properly on sparc. 2001-05-01 23:12:34 +00:00
Ted Lemon
0596b05177 Update version and changelog 2001-04-30 22:37:47 +00:00
Ted Lemon
892fe68902 Update changelog and version 2001-04-27 22:27:33 +00:00
Ted Lemon
33c281465a Put offsets into packet into comments. 2001-04-24 00:50:38 +00:00
Ted Lemon
79ea3de8b4 Update version and changelog 2001-04-20 21:34:41 +00:00
Ted Lemon
3417f5cf6a Add recover_wait state goo. 2001-04-20 18:07:29 +00:00
Ted Lemon
e831c83087 Update version. 2001-04-18 19:02:48 +00:00
Ted Lemon
6d779c721b Update version and changelog 2001-04-17 04:50:38 +00:00
Ted Lemon
9c1a8943d1 Add DEBUG_LEASE_STATE_TRANSITIONS 2001-04-16 22:17:58 +00:00
Ted Lemon
e540864ef1 Fix prototypes. 2001-04-16 22:15:23 +00:00
Ted Lemon
8bd346b507 SCO Fixups. 2001-04-09 01:13:32 +00:00
Ted Lemon
c267626033 Work around Linux 2.4 Token Ring problem. 2001-04-09 01:03:14 +00:00
Ted Lemon
fd547e9817 Fix up a -DDEBUG compile error. 2001-04-09 00:46:39 +00:00
Ted Lemon
de57e64b15 Update changelog and version 2001-04-06 06:15:15 +00:00
Ted Lemon
c1f22aef47 - Add S_STOPPED state for downed interfaces.
- Add subclass prototypes.
- Remove duplicate class prototypes.
2001-04-05 22:49:40 +00:00
Ted Lemon
6071365896 Don't try to determine SIOCGIFCONF buffer size prior to Linux 2.2. 2001-04-05 06:12:28 +00:00
Ted Lemon
140158d3ff Update version and changelog 2001-03-22 21:41:33 +00:00
Ted Lemon
e47988bfd7 fix up dhclient script defaults. 2001-03-22 07:01:11 +00:00
Ted Lemon
3a395e60ea Update changelog and version. 2001-03-20 22:27:25 +00:00
Ted Lemon
fc74dd0c38 Update version and changelog 2001-03-20 07:40:25 +00:00
Ben Cottrell
c73ced691d Fixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
pass in which we pass a null pointer for the buffer, and we will get
back the length of the buffer we should allocate. This is because
if you pass in a buffer that is too small, Linux (unlike other OSes)
will not tell you that it is too small by returning a length greater
than the length you passed in.
2001-03-17 02:11:29 +00:00
Ted Lemon
ed5ee59141 Update version number and changelog 2001-03-17 02:09:02 +00:00
Ted Lemon
b3519f23f1 Support NUL characters in STRING tokens. 2001-03-17 00:47:39 +00:00
Ben Cottrell
3d2aa1bff4 More DLPI patches from Joost. His patch was way garbled, but this is my
best interpretation of it. The only thing confusing me is that I thought
he'd fixed all the byte order dependencies in an elegant way, but I
still see some rather ugly #ifdefs in this code. Oh well. At least it
works on minbar.
2001-03-16 22:12:19 +00:00
Ted Lemon
d73c240408 Add quotify prototypes. 2001-03-15 23:17:48 +00:00
Ted Lemon
b3fad8ac0b Update changelog and version info. 2001-03-14 17:36:48 +00:00
Ted Lemon
0b69dcc870 Change EOF to END_OF_FILE in tokenizer for enum compatibility. 2001-03-01 18:17:09 +00:00
Ted Lemon
dace3971d7 Update version to -cvs 2001-03-01 17:09:37 +00:00
Damien Neil
9345f3ccbb Added tokens for "close", "create", "open", and "help" to the lexer. 2001-02-27 01:15:38 +00:00
Ted Lemon
6da9db9d61 Update changelog and version 2001-02-22 23:20:11 +00:00
Ted Lemon
9560d30a7f Make header lengths signed rather than unsigned, fix snoop_time(). 2001-02-22 06:42:32 +00:00
Ted Lemon
af5ad6dff0 Declare dhcp_failover_toack_queue_timeout (). 2001-02-22 06:41:51 +00:00
Damien Neil
988c1ca71f Added failover ack queueing. Failover update messages are no longer
immediately responded to, but are placed on a queue (attached to
the dhcp_failover_state_t structure).  Updated leases are committed
only when the queue is drained, giving a significant performance
increase.

The toack queue is drained:
  a) when the queue size exceeds half the partner's max-unacked-updates
     setting, or
  b) two seconds after the last update message is received.

Added 'refcnt' and 'next' fields to the failover_message_t structure,
to allow messages to be placed on the toack queue.

On the sending side, leases are no longer committed immediately after
being acked.  Rather, the commit is deferred until no further acks are
pending.  This also gives a major gain in performance.
2001-02-22 00:15:54 +00:00
Ted Lemon
504d9311ba Oops, socklen_t is defined in all NetBSD versions *after* 1.3J, not *before*. 2001-02-18 06:52:30 +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
82b2e77075 Enable tracing by default. 2001-02-13 17:48:51 +00:00
Ted Lemon
d8a44b0761 Definitions for common DHCP trace functions. 2001-02-12 21:21:56 +00:00