busybox/networking/udhcp
2003-12-18 22:25:38 +00:00
..
arpping.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
arpping.h
AUTHORS Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
ChangeLog Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
clientpacket.c include headers with prototypes to make sure prototypes match 2003-12-16 20:44:15 +00:00
clientpacket.h include headers with prototypes to make sure prototypes match 2003-12-16 20:44:15 +00:00
clientsocket.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
clientsocket.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
common.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
common.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
Config.in Andreas Mohr writes: 2003-10-22 09:58:56 +00:00
COPYING
dhcpc.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
dhcpc.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
dhcpd.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
dhcpd.h why the complication of a static string rather than a define? gcc isn't dumb 2003-12-16 02:30:53 +00:00
dumpleases.c forgotten include 2003-12-16 02:34:28 +00:00
files.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
files.h Vodz, last_patch_88 2003-06-10 17:22:49 +00:00
frontend.c
leases.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
leases.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
libbb_udhcp.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
options.c options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox 2003-12-15 22:09:36 +00:00
options.h options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox 2003-12-15 22:09:36 +00:00
packet.c include headers with prototypes to make sure prototypes match 2003-12-16 20:44:15 +00:00
packet.h
pidfile.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
pidfile.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
README Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
README.dumpleases sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
README.udhcpc resync with udhcp cvs 2002-12-11 21:12:45 +00:00
README.udhcpd sync to udhcp 0.9.8 2002-10-31 19:21:27 +00:00
script.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
script.h
serverpacket.c include headers with prototypes to make sure prototypes match 2003-12-16 20:44:15 +00:00
serverpacket.h include headers with prototypes to make sure prototypes match 2003-12-16 20:44:15 +00:00
signalpipe.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
signalpipe.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
socket.c Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
socket.h Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
TODO Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
version.h resync with udhcp cvs 2002-12-11 21:12:45 +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:
	
	UDHCP_DEBUG: If UDHCP_DEBUG is defined, udhcpd will output extra
	debugging output, compile with -g, and not fork to the background when
	run.
	UDHCP_SYSLOG: If UDHCP_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 three compile time options:
	
	LEASE_TIME: The default lease time if not specified in the config
	file.

	LEASES_FILE: The default file for storing leases.
	
	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.