2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

1073 Commits

Author SHA1 Message Date
Ted Lemon
b3f15965cc Classify all incoming dhcp packets. Process class scopes. 1998-11-06 02:59:11 +00:00
Ted Lemon
de94ca7269 Add new classes to database after parsing them. Fix some miscellaneous bugs. 1998-11-06 02:58:17 +00:00
Ted Lemon
78310bee26 Put check_collection() outside of DEBUG_EXPRESSIONS conditional. 1998-11-06 02:43:10 +00:00
Ted Lemon
efc79acbb9 Fix pathological parsing loop in add statement. Set expression opcode after parse_cshl. 1998-11-06 02:42:48 +00:00
Ted Lemon
d25524bd8d Evaluate option cache associated with client identifier option, not just the expression. 1998-11-06 02:40:40 +00:00
Ted Lemon
71bf7bfebd Add hostname type to dns_host_entry_allocate 1998-11-06 02:40:04 +00:00
Ted Lemon
7d28b4f58b Update prototype for dns_host_entry_allocate(). 1998-11-06 01:08:09 +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
fd2a15f68e Pass hostname to dns_host_entry_allocate. 1998-11-06 01:06:16 +00:00
Ted Lemon
1ffcdd2a19 Don't test for abandoned lease if we didn't find a lease. Don't try to evaluate an option cache if we didn't find it. 1998-11-06 01:04:32 +00:00
Ted Lemon
028a8588da When making list of IP addresses or hostnames, account for the first expression on the list. 1998-11-06 00:31:08 +00:00
Ted Lemon
44aa67f6ce Initialize automatic expression variable. 1998-11-06 00:30:19 +00:00
Ted Lemon
fa226d8ff5 Interface discovery code. 1998-11-06 00:19:56 +00:00
Ted Lemon
8d44908072 Add agent option support. 1998-11-06 00:17:12 +00:00
Ted Lemon
6f8fb41f3b Move to reference-based expression allocation. 1998-11-06 00:16:52 +00:00
Ted Lemon
4af075a237 Do data expression evaluation. 1998-11-06 00:16:22 +00:00
Ted Lemon
6baee43250 Add relay agent information option arg to cons_options call. 1998-11-06 00:15:51 +00:00
Ted Lemon
866428ddc8 Add Relay Agent Information Option support. 1998-11-06 00:15:17 +00:00
Ted Lemon
a461fb50b6 Add more expression evaluation goo. 1998-11-06 00:14:47 +00:00
Ted Lemon
c4763f5f3f Add relay agent support for Relay Agent Information Option 1998-11-06 00:14:09 +00:00
Ted Lemon
cd038e3ef4 Clear the right data buffer. Add missing braces. 1998-11-06 00:13:36 +00:00
Ted Lemon
25541f2fc1 Fix parse_if_statement 1998-11-06 00:13:03 +00:00
Ted Lemon
ca44c64d39 Add agent_options argument to cons_options 1998-11-06 00:12:40 +00:00
Ted Lemon
ac73337357 Update error message. 1998-11-06 00:11:53 +00:00
Ted Lemon
2455808fa3 Fix some lingering bugs from the expression evaluation changes. 1998-11-06 00:11:24 +00:00
Ted Lemon
137e6888cd Clean up some statement parsing bugs. 1998-11-06 00:10:58 +00:00
Ted Lemon
71498466f8 Minor documentation clarification on maximum lease time handling. 1998-11-05 18:57:46 +00:00
Ted Lemon
23b217251f Add command-line argument to set pid file name. 1998-11-05 18:56:38 +00:00
Ted Lemon
6603eed953 Oops, fix a conflict that was committed in previous revision. 1998-11-05 18:56:15 +00:00
Ted Lemon
5d25508cf5 Use evaluation-based option handling 1998-11-05 18:54:55 +00:00
Ted Lemon
f90c6527fa Add some code to prevent linking in stuff we don't need (yuck). 1998-11-05 18:51:16 +00:00
Ted Lemon
92346c6166 Lose extraneous tab. 1998-11-05 18:50:04 +00:00
Ted Lemon
166e479055 Add endian.h defines - not present in hpux headers. 1998-11-05 18:49:36 +00:00
Ted Lemon
8a1f72f092 INADDR_LOOPBACK now defined in some FreeBSD versions - don't redefine it. 1998-11-05 18:49:12 +00:00
Ted Lemon
95732025a4 Add send option statement. 1998-11-05 18:48:37 +00:00
Ted Lemon
dac426fa64 Add some new debugging types 1998-11-05 18:48:24 +00:00
Ted Lemon
983ea35c77 Make dhcp token type an enum for easier debugging. 1998-11-05 18:47:09 +00:00
Ted Lemon
27fe61a702 New prototypes. Many data structure updates. 1998-11-05 18:46:42 +00:00
Ted Lemon
1d07a807ef Implement reference-based option cache and expressions. 1998-11-05 18:45:23 +00:00
Ted Lemon
5bb74e19bc Get rid of ad-hoc option priority list. 1998-11-05 18:44:41 +00:00
Ted Lemon
2d0eb01961 Add new printers for prettier printing of 'x' format. Add expression printer. 1998-11-05 18:44:11 +00:00
Ted Lemon
02a015fb46 Fix up all the option handling code to use evaluation instead of fixed data. 1998-11-05 18:43:23 +00:00
Ted Lemon
a370b55d06 Add new option cache handling code. 1998-11-05 18:42:47 +00:00
Ted Lemon
15b5c093be Fix up all the option handling code to use evaluation instead of fixed data. User-specified option statements are not stored in a linked list of executable statements, rather than as data trees. 1998-11-05 18:42:18 +00:00
Ted Lemon
a1933e2df8 Add expression debugging printfs. Supply input and output options to execute_statements. 1998-11-05 18:40:40 +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
a560623f05 Add some code to prevent pulling in libraries we don't need. (yuck) 1998-11-05 18:36:34 +00:00
Ted Lemon
14ecb5bacd Intermediary changes 1998-10-22 04:52:23 +00:00
Ted Lemon
94ab0b3be1 Add depend target 1998-10-22 04:50:29 +00:00
Ted Lemon
7d77172d26 Move discover_interfaces and relate goop to discover.c 1998-10-17 13:35:24 +00:00