busybox/networking/udhcp
Glenn L McGrath 6b5bd0e5ab Support using ip in udhcpc scripts.
Slightly modified version of patch by Bastian Blank
2002-12-08 22:17:54 +00:00
..
arpping.c
arpping.h
AUTHORS
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
Config.in Support using ip in udhcpc scripts. 2002-12-08 22:17:54 +00:00
COPYING
debug.h
dhcpc.c Change if(x)free(x); to free(x); 2002-11-28 11:27:31 +00:00
dhcpc.h
dhcpd.c
dhcpd.h version number oops 2002-11-05 20:10:21 +00:00
dumpleases.c Fixup dumpleases compile problem 2002-12-06 21:42:56 +00:00
files.c Change if(x)free(x); to free(x); 2002-11-28 11:27:31 +00:00
files.h
frontend.c
leases.c
leases.h
libbb_udhcp.h version number oops 2002-11-05 20:10:21 +00:00
Makefile
Makefile.in Fixup dumpleases compile problem 2002-12-06 21:42:56 +00:00
options.c Support using ip in udhcpc scripts. 2002-12-08 22:17:54 +00:00
options.h Support using ip in udhcpc scripts. 2002-12-08 22:17:54 +00:00
packet.c
packet.h
pidfile.c
pidfile.h
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 Support using ip in udhcpc scripts. 2002-12-08 22:17:54 +00:00
script.h
serverpacket.c
serverpacket.h
socket.c
socket.h
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.