busybox/networking/udhcp
Eric Andersen c9f20d9fb9 Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc.  With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system.  I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
 -Erik
2002-12-05 08:41:41 +00:00
..
arpping.c added full udhcp integration 2002-10-14 21:41:28 +00:00
arpping.h added full udhcp integration 2002-10-14 21:41:28 +00:00
AUTHORS added full udhcp integration 2002-10-14 21:41:28 +00:00
ChangeLog sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
clientpacket.c sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
clientpacket.h added full udhcp integration 2002-10-14 21:41:28 +00:00
Config.in Yet another major rework of the BusyBox config system, using the considerably 2002-12-05 08:41:41 +00:00
COPYING added full udhcp integration 2002-10-14 21:41:28 +00:00
debug.h added full udhcp integration 2002-10-14 21:41:28 +00:00
dhcpc.c Change if(x)free(x); to free(x); 2002-11-28 11:27:31 +00:00
dhcpc.h added full udhcp integration 2002-10-14 21:41:28 +00:00
dhcpd.c added full udhcp integration 2002-10-14 21:41:28 +00:00
dhcpd.h version number oops 2002-11-05 20:10:21 +00:00
dumpleases.c added full udhcp integration 2002-10-14 21:41:28 +00:00
files.c Change if(x)free(x); to free(x); 2002-11-28 11:27:31 +00:00
files.h added full udhcp integration 2002-10-14 21:41:28 +00:00
frontend.c added full udhcp integration 2002-10-14 21:41:28 +00:00
leases.c added full udhcp integration 2002-10-14 21:41:28 +00:00
leases.h added full udhcp integration 2002-10-14 21:41:28 +00:00
libbb_udhcp.h version number oops 2002-11-05 20:10:21 +00:00
Makefile missed add for udhcp 2002-10-14 21:47:07 +00:00
Makefile.in Yet another major rework of the BusyBox config system, using the considerably 2002-12-05 08:41:41 +00:00
options.c added full udhcp integration 2002-10-14 21:41:28 +00:00
options.h added full udhcp integration 2002-10-14 21:41:28 +00:00
packet.c added full udhcp integration 2002-10-14 21:41:28 +00:00
packet.h added full udhcp integration 2002-10-14 21:41:28 +00:00
pidfile.c added full udhcp integration 2002-10-14 21:41:28 +00:00
pidfile.h added full udhcp integration 2002-10-14 21:41:28 +00:00
README sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
README.dumpleases sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
README.udhcpc udhcpc documentation update 2002-11-19 00:41:09 +00:00
README.udhcpd sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
script.c added full udhcp integration 2002-10-14 21:41:28 +00:00
script.h added full udhcp integration 2002-10-14 21:41:28 +00:00
serverpacket.c added full udhcp integration 2002-10-14 21:41:28 +00:00
serverpacket.h added full udhcp integration 2002-10-14 21:41:28 +00:00
socket.c added full udhcp integration 2002-10-14 21:41:28 +00:00
socket.h added full udhcp integration 2002-10-14 21:41:28 +00:00
TODO sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
version.h version number oops 2002-11-05 20:10:21 +00:00

udhcp server/client package readme
-------------------------

The udhcp server/client package is primarily geared towards embedded
systems. It does however, strive to be fully functional, and RFC
compliant.


compile time options
-------------------

The Makefile contains three of the compile time options:
	
	DEBUG: If DEBUG is defined, udhcpd will output extra debugging
	output, compile with -g, and not fork to the background when run.
	SYSLOG: If SYSLOG is defined, udhcpd will log all its messages
	syslog, otherwise, it will attempt to log them to stdout.
	
	COMBINED_BINARY: If COMBINED_BINARY is define, one binary, udhcpd,
	is created. If called as udhcpd, the dhcp server will be started.
	If called as udhcpc, the dhcp client will be started.
	
dhcpd.h contains the other two compile time options:
	
	LEASE_TIME: The default lease time if not specified in the config
	file.
	
	DHCPD_CONFIG_FILE: The defualt config file to use.
	
options.c contains a set of dhcp options for the client:

	name[10]: The name of the option as it will appear in scripts
	
	flags: The type of option, as well as if it will be requested
	by the client (OPTION_REQ)

	code: The DHCP code for this option


busybox drop-in
--------------
udhcp is now a drop-in component for busybox (http://busybox.net).
To update busybox to the latest revision, simply do a:

cp *.[ch] README AUTHORS COPYING ChangeLog TODO \ 
	<busybox_source>/networking/udhcp

The only two files udhcp does not provide are config.in and
Makefile.in, so these may need to be updated from time to time.