Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
49bc3bc5d1
Support new debug malloc.
2000-01-25 01:02:26 +00:00
Ted Lemon
8261b0e136
Get rid of failover allocators that aren't needed.
2000-01-05 17:57:03 +00:00
Ted Lemon
1b541aba32
- Undo an erroneous change that would have caused core dumps in case of
...
programming errors instead of allowing memory leaks.
1999-10-14 17:43:02 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
7109aa9521
- Fix several cases where a refcounted memory allocator would set the pointer
...
to null and then fail to return immediately, possibly causing a core dump.
Now, the pointer will be set to null and it will return a failure status
immediately.
- Make packet allocator reference counted, and keep a cache of packet
structures so that allocating and freeing them will be cheap.
1999-07-31 17:53:05 +00:00
Ted Lemon
d938be7b63
When dereferencing a statement, dereference anything it references too.
1999-07-17 17:59:24 +00:00
Ted Lemon
79a65726f0
Massive rototill to support some new DDNS features.
1999-07-16 21:34:14 +00:00
Ted Lemon
203eccaeb5
Fix up some more POINTER_DEBUG cases to prevent core dumps.
1999-05-27 12:38:05 +00:00
Ted Lemon
8e0a40b8d9
Enclose abort() calls in POINTER_DEBUG ifdefs and just return otherwise.
1999-05-07 17:36:36 +00:00
Ted Lemon
03f78f2ae2
Put a reference count on the option_state structure.
1999-04-05 19:02:17 +00:00
Ted Lemon
5b9d671bf0
- Add allocator/deallocator for universes and option states.
...
- Lease state allocator automatically allocates option state,
and deallocator automatically deallocates it.
1999-04-05 15:23:07 +00:00
Ted Lemon
e7860b608e
Add option allocator.
1999-03-25 21:55:14 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
74f45f9642
Sync with 2.0b1pl16. Fix some pool allocation problems.
1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
2a3318abcb
Don't compile failover code unless FAILOVER_PROTOCOL is defined.
1999-02-23 19:04:25 +00:00
Ted Lemon
31a065e683
Add allocator for failover peer structure.
1999-02-14 18:40:22 +00:00
Ted Lemon
3d61803aa2
Pre-zero group structures.
1998-11-11 07:49:27 +00:00
Ted Lemon
96f7066599
Add allocators for pools and permits.
1998-11-09 02:43:42 +00:00
Ted Lemon
71bf7bfebd
Add hostname type to dns_host_entry_allocate
1998-11-06 02:40:04 +00:00
Ted Lemon
0b1e0778a3
Save space for hostname and save hostname itself in dns_host_entry allocator.
1998-11-06 01:06:44 +00:00
Ted Lemon
62366286cf
Add new reference-based allocators and some new new/free allocators for data types that were previously being allocated with malloc().
1998-11-05 18:39:54 +00:00
Ted Lemon
4b1abd502c
tree -> expression. tree_cache -> option_cache. New destructors for dhcp_packet and packet structures.
1998-06-25 02:53:00 +00:00
Ted Lemon
4085b4754f
Don't memset allocated memory if we didn't allocate it.
1998-03-17 06:08:49 +00:00
Ted Lemon
ed857140d3
Fix sizeof bug. Add allocators for name server entries and domain search list entries
1997-05-09 07:56:13 +00:00
Ted Lemon
a6bdf642ed
Fix stupid, stupid, stupid allocation size underrun
1997-03-29 00:01:18 +00:00
Ted Lemon
dd5804ad62
add allocator for lease state structure and protocol structure
1997-03-06 06:49:29 +00:00
Ted Lemon
6e9a647e94
Maintain a free list for tree_cache structs
1997-03-05 06:34:27 +00:00
Ted Lemon
741860df01
Don't free hash name
1996-08-28 01:19:42 +00:00
Ted Lemon
7ed1888458
always zero structures; add new_group and free_group; free network name when freeing shared_network struct
1996-08-27 09:31:27 +00:00
Ted Lemon
de8d6db15d
Missing argument to printf
1996-06-12 23:49:07 +00:00
Ted Lemon
ef8d159b32
Notice and log dfree() on null pointer
1996-06-12 04:07:41 +00:00
Ted Lemon
092ce692f6
allocators for shared networks
1996-05-22 07:12:51 +00:00
Ted Lemon
f6123fabc8
Fix copyrights
1996-05-19 23:53:44 +00:00
Ted Lemon
26a7e22a94
Add class allocation code
1996-02-29 18:05:41 +00:00
Ted Lemon
089fb364df
More portable internet addresses; fix endian bug; fix parser bugs
1996-02-06 20:25:56 +00:00
Ted Lemon
d7837182d3
DHCP Server Daemon
1995-11-29 07:40:04 +00:00