2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

758 Commits

Author SHA1 Message Date
Ted Lemon
4a17bb6b07 Add resolver parser 1997-05-09 07:55:19 +00:00
Ted Lemon
66f973e41e Cygwin32 compatibility. Handle prepend, append and supersede option modifiers. Minimal BOOTP support. Handle seed generation differently. 1997-05-09 07:54:14 +00:00
Ted Lemon
d7c8ea3224 Make parse_option_decl return the option structure it parsed. parse_ip_addr now returns a status. Handle bootp flag in lease declaration. Handle default, supersede and append option declarators. 1997-05-09 07:48:34 +00:00
Ted Lemon
53ed5cf0f3 Add cygwin32 configuration information 1997-05-09 07:42:28 +00:00
Ted Lemon
e6ba52d44f Define PTRSIZE_64BIT on alpha 1997-03-31 23:35:57 +00:00
Ted Lemon
eebefd1be0 Solaris needs inet_aton and faked-up endian.h DHCP-970329 1997-03-29 10:39:11 +00:00
Ted Lemon
62d7dca5af SunOS needs inet_aton 1997-03-29 10:38:38 +00:00
Ted Lemon
2b60cc6873 Add prototype for inet_aton 1997-03-29 10:38:08 +00:00
Ted Lemon
5c6cfd0576 Lose const in inet_aton declaration 1997-03-29 10:37:51 +00:00
Ted Lemon
23bebe4540 Cast pointer to char * in sendto for SunOS 1997-03-29 10:37:18 +00:00
Ted Lemon
94b63c6467 Wrap prototype with PROTO for SunOS 1997-03-29 10:36:56 +00:00
Ted Lemon
61983149e5 Cast malloc so that we don't get an error on SunOS 1997-03-29 10:36:24 +00:00
Ted Lemon
eb58f47fc7 foo DHCP-970328 1997-03-29 04:07:32 +00:00
Ted Lemon
049d2e07ca Build inet_addr.o 1997-03-29 03:57:20 +00:00
Ted Lemon
1a9c0cc92c Local copy of inet_ntoa for systems that don't provide it 1997-03-29 03:56:23 +00:00
Ted Lemon
9e755b5d96 Update copyright 1997-03-29 03:32:34 +00:00
Ted Lemon
efce05d01c Allow IP addresses to be specified on the command line; don't use herror(). 1997-03-29 03:30:44 +00:00
Ted Lemon
913d202166 Don't include netdevice.h - it causes compilation problems 1997-03-29 03:19:54 +00:00
Ted Lemon
418102c6c8 to is pointer to struct, not struct 1997-03-29 03:19:02 +00:00
Ted Lemon
714ef4f5d2 Compile checksum code whether or not we're doing a low-level packet driver 1997-03-29 03:18:28 +00:00
Ted Lemon
b607837f9a Don't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined 1997-03-29 01:39:38 +00:00
Ted Lemon
83c1b01218 Add initial_interval and backoff_cutoff elements to client_config struct; dns.c prototypes 1997-03-29 01:26:56 +00:00
Ted Lemon
af361f2af5 Return the result of sends and receives 1997-03-29 01:26:08 +00:00
Ted Lemon
9557deb6da Adjust indentation; fix up calling conventions 1997-03-29 01:25:32 +00:00
Ted Lemon
3951e13c3d Add bnackoff-cutoff and initial-interval keywords 1997-03-29 01:25:10 +00:00
Ted Lemon
64bd493690 ip -> client -> packet is a struct, not a pointer to a struct 1997-03-29 01:24:30 +00:00
Ted Lemon
6097e22312 Add backoff_cutoff and initial_interval parse keywords; fix send_options thinko 1997-03-29 01:23:17 +00:00
Ted Lemon
26e02cc513 Use -pipe on NetBSD 1997-03-29 01:20:40 +00:00
Ted Lemon
ba7ed239ed Fix up a few typos and pastos 1997-03-29 00:10:22 +00:00
Ted Lemon
e8df53ce15 Fix install dependencies 1997-03-29 00:09:51 +00:00
Ted Lemon
b968c68a5b Add a couple more fussy defines to work around Linux weirdnesses 1997-03-29 00:08:40 +00:00
Ted Lemon
daffaf5e68 Allow users to specify vendor-encapsulated-options as a string of hex digits 1997-03-29 00:06:50 +00:00
Ted Lemon
5145810cfd Ignore EHOSTUNREACH and ECONNREFUSED errors on Linux (for now). 1997-03-29 00:06:07 +00:00
Ted Lemon
9652af24d0 Skip dummy interfaces on Linux; lose vestigial and erroneous USE_FALLBACK code; timeout -> what, not timeout -> interface 1997-03-29 00:02:45 +00:00
Ted Lemon
a6bdf642ed Fix stupid, stupid, stupid allocation size underrun 1997-03-29 00:01:18 +00:00
Ted Lemon
73694cd227 Don't have ARP code look up names; net_netmask_arg, not new_subnet_arg 1997-03-28 23:59:56 +00:00
Ted Lemon
34fdad6c77 Move top_level_config to clparse.c; use more defaults from client config structure; be less noisy about broadcasts that aren't for us; fix up exponential backoff code; time out in REQUESTING state if server doesn't ACK; record how long we've been trying to boot in the DHCP packet. 1997-03-28 23:57:47 +00:00
Ted Lemon
8262070795 Set up enough defaults that we can actually boot without a configuration file. 1997-03-28 23:50:15 +00:00
Ted Lemon
9db96ad494 Clean up subdir targets 1997-03-28 23:48:43 +00:00
Ted Lemon
14d3aba8e4 IANA ARP code types and hardware types 1997-03-28 22:27:50 +00:00
Ted Lemon
4a4d10a5ba DNS Support code 1997-03-08 02:24:16 +00:00
Ted Lemon
e452b9fdc8 Use MAX_TIME for abandoned leases rather than an explicit constant (which was wrong). 1997-03-08 00:22:47 +00:00
Ted Lemon
6a1d7b36e0 raw reads include IP header before icmp header, so we have to skip over it. 1997-03-08 00:22:01 +00:00
Ted Lemon
b16b7f330e Record the time of the db_startup rewrite of the lease file so that we don't rewrite the file again the next time we offer a lease. 1997-03-06 23:41:27 +00:00
Ted Lemon
7a08716481 If a lease is abandoned, write it out even though it doesn't appear to be assigned. When abandoning a lease, set hardware type to zero, not -1 1997-03-06 22:20:17 +00:00
Ted Lemon
14b5afc442 Put parentheses around & operations 1997-03-06 20:23:27 +00:00
Ted Lemon
a8b5839494 If a lease is abandoned, it's okay to supersede even if things don't quite match up. 1997-03-06 20:21:32 +00:00
Ted Lemon
ca25f4ab5e Send client identifier when declining. 1997-03-06 20:13:42 +00:00
Ted Lemon
779b840c00 When we toss all our leases, just go back to init state - don't try to get fancy 1997-03-06 20:00:51 +00:00
Ted Lemon
804872dc5c ABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede structure. 1997-03-06 19:45:20 +00:00