2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

881 Commits

Author SHA1 Message Date
Ted Lemon
36f5381c14 Add REJECT keyword 1997-06-02 22:30:52 +00:00
Ted Lemon
1e39d10198 Cygwin32 compatibility. Initialize DNS 1997-05-09 08:27:56 +00:00
Ted Lemon
44b2e3adb2 Fix bug introduced into dhcprequest processing. Fix core dump differently. Store client-supplied hostname. Fix ciaddr copy. 1997-05-09 08:27:14 +00:00
Ted Lemon
00d6d87c9e Write out client_hostname and hostname values when writing out a lease 1997-05-09 08:22:00 +00:00
Ted Lemon
ccf5778aac Move parse_host_name to parse.c. Add support for recording client-supplied and locally-derived hostname in lease file 1997-05-09 08:21:25 +00:00
Ted Lemon
c0257f226c Check for BOOTREQUEST moved here 1997-05-09 08:20:12 +00:00
Ted Lemon
31ea5c11f5 Cygwin32 definitions 1997-05-09 08:19:38 +00:00
Ted Lemon
c988b62624 Lose BROKEN_FREEBSD_CF by default 1997-05-09 08:18:37 +00:00
Ted Lemon
d92bab9a03 Cygwin32 support 1997-05-09 08:18:06 +00:00
Ted Lemon
9bfe462a26 Add new keywords 1997-05-09 08:17:23 +00:00
Ted Lemon
fc28acefff If there's no h_errno, assume the error is Host Not Found 1997-05-09 08:14:57 +00:00
Ted Lemon
db0ddc4f27 name-servers -> ien116-name-servers, to reduce confusion. Add nds- options 1997-05-09 08:13:38 +00:00
Ted Lemon
796ef0084f Handle line-oriented parsing. Add parse_host_name function. Move parse_ip_addr and make it return status. Fix date parsing off-by-one-day bug 1997-05-09 08:08:53 +00:00
Ted Lemon
ac16c3da76 Work around Ultrix gotcha 1997-05-09 08:07:33 +00:00
Ted Lemon
00294c5604 Let bootp() check for correct type of packet 1997-05-09 08:07:09 +00:00
Ted Lemon
bd148ffb34 Call new ns_inaddr_lookup code for testing 1997-05-09 08:06:29 +00:00
Ted Lemon
f2aad86a77 Fix alpha ptrsize botch. Try even harder to make sure ICMP Echo request packets are routed. Better error message. 1997-05-09 08:05:28 +00:00
Ted Lemon
7c695fad45 Cygwin32 compatibility; reindent; add routine for printing WinSock errors 1997-05-09 08:03:44 +00:00
Ted Lemon
125e976606 Use new resolv.conf parser. Clean up some code. Add experimental (and non-functional) zone discovery code. 1997-05-09 08:02:33 +00:00
Ted Lemon
a198e2673e Fix stupid allocation bug. Handle IFF_POINTTOPOINT only if defined 1997-05-09 08:00:50 +00:00
Ted Lemon
46809edfef Swap shorts with htons, not htonl! 1997-05-09 07:58:33 +00:00
Ted Lemon
89500b31fd Add keywords supersede, search, prepend, nameserver, domain, append. Add support for handling newline as its own token instead of as a token seperator, to enable parsing of resolv.conf files 1997-05-09 07:57:54 +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
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