2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 04:47:40 +00:00

271 Commits

Author SHA1 Message Date
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
7deff07643 Oops, fix a past-o. 2000-05-15 15:47:11 +00:00
Ted Lemon
ffc0586664 Don't send the intro until we receive the connect signal. 2000-05-15 15:44:31 +00:00
Ted Lemon
6c25ecec2e Get rid of SO_USELOOPBACK 2000-05-09 03:06:49 +00:00
Ted Lemon
58a95d9dfd Get rid of SO_USELOOPBACK. 2000-05-03 06:18:03 +00:00
Ted Lemon
b6237fb286 - Fix up reference counting of io object chain.
- Add omapi_unregister_io_object.
2000-05-03 06:15:31 +00:00
Ted Lemon
d86ec998a2 Get rid of SO_USELOOPBACK. Use omapi_unregister_io_object. 2000-05-03 06:12:28 +00:00
Ted Lemon
e598929f6d Fix a stupid pasto in make_int_value. Add make_uint_value. 2000-05-01 23:52:05 +00:00
Ted Lemon
85e9641dc8 Add a call for listening on a specific IP address. 2000-05-01 23:51:05 +00:00
Ted Lemon
fc24e951a2 - Make the connect system call asynchronous.
- Add a new call that takes a list of addresses of arbitrary types,
  rather than just IPv4 addresses.
- Allow caller to also specify a local address to which to bind before
  connecting.
2000-05-01 23:50:16 +00:00
Ted Lemon
df9ff0a119 Add support for omapi_addr_list_t. 2000-05-01 23:47:08 +00:00
Ted Lemon
7d9784f6fc Patch in TSIG, just to see how to get it to work. 2000-03-18 02:15:52 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
bdcaf7b95d Incorporate Brian Murrell's new OMAPI DHCP client changes. 2000-02-15 20:40:36 +00:00
Ted Lemon
0d0d25d027 Fix make depend. 2000-02-03 15:40:09 +00:00
Ted Lemon
539bfc9641 Teach cvs not to complain about generated files. 2000-02-03 03:49:16 +00:00
Ted Lemon
d1f313b300 socklen_t -> SOCKLEN_T 2000-02-03 03:43:51 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
996a9e8520 Fix up handling of bogus dereferences. 2000-01-27 23:20:03 +00:00
Ted Lemon
37e365b490 - 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:40:55 +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
46c38f9c5b When complaining about freeing unknown memory, use the name of the caller. 2000-01-26 17:25:24 +00:00
Ted Lemon
c258c7a224 Use malloc, not dmalloc, within dmalloc. :') 2000-01-26 16:00:08 +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
3c0b59d354 Debugging allocator needs logging functions. 2000-01-25 20:41:45 +00:00
Ted Lemon
3185c1883b Fix bug in the way object handles were being... handled. 2000-01-25 01:31:56 +00:00
Ted Lemon
5edcb334b8 - New malloc debug.
- Fix bug in the way remote object handles were being... handled.
2000-01-25 01:27:56 +00:00
Ted Lemon
d05243c113 Include inet.h 2000-01-25 01:26:52 +00:00
Ted Lemon
6592de2c75 New malloc debug scheme. 2000-01-25 01:26:25 +00:00
Ted Lemon
892aa61aa4 Use close-on-exec if available. 2000-01-05 18:10:59 +00:00
Ted Lemon
bbdb72a4d7 Work around bletcherosity in handle declarations. 1999-11-24 04:13:07 +00:00
Ted Lemon
d0a33113c5 Fix calls to omapi_protocol_connect and omapi_protocol_listen. 1999-11-23 19:07:17 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
f0b8a59f37 write() returns a signed integer... 1999-10-28 13:09:06 +00:00
Ted Lemon
6630cc801e Zero the correct buffer... 1999-10-26 16:56:34 +00:00
Ted Lemon
ad5ba2696f Use LFLAGS when linking test program. 1999-10-24 19:36:08 +00:00
Ted Lemon
086fce2188 Get rid of some returns that aren't reachable. 1999-10-24 17:18:43 +00:00
Ted Lemon
d82813f833 - Fix a stupid bug in the generic code that would cause values to be
stored off the end of the value array, resulting in an invalid
  argument return.
1999-10-20 20:09:17 +00:00
Ted Lemon
e857fa8cee - Set O_NONBLOCK on incoming connections (we were already doing this
for outgoing connections).
1999-10-19 15:37:08 +00:00
Ted Lemon
c936e8c172 - Fix buffer head/tail code.
- Correctly handle no more data and remote disconnect.
1999-10-19 15:36:16 +00:00
Ted Lemon
abf550084b Initialize head of buffers in allocator, just to be sure. 1999-10-19 15:35:16 +00:00
Ted Lemon
06feb756af - Don't try to look up an object if we didn't get a description with which
to do the lookup (since this would cause a core dump!).
1999-10-14 18:15:56 +00:00
Ted Lemon
0e603324d7 Take appropriate action when directed to send null data. 1999-10-14 18:09:48 +00:00
Ted Lemon
013be24d6e Pass pointer to unsigned long, for portability to 64-bit architectures. 1999-10-08 17:28:09 +00:00
Ted Lemon
a804d24e26 Get rid of u_* declarations for portability. 1999-10-08 17:19:41 +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
ef216c04e1 Make clean target clean up test program. 1999-10-06 22:39:11 +00:00
Ted Lemon
9e7cc56a3d Fix a stupid bug in the listener object accept routine. 1999-10-06 19:27:21 +00:00
Ted Lemon
fd81bd9ea6 Install libraries and includes. 1999-10-04 23:48:28 +00:00