hush/networking/udhcp
Paul Fox a39bba33c8 allow suppression of default client-id. fixes bug 000037. allows
busybox to match kernel and u-boot behavior with respect to client-id.
2005-08-01 14:31:13 +00:00
..
arpping.c Revert the uptime() removal. Let the list sort it out... 2005-05-04 02:15:23 +00:00
arpping.h
AUTHORS
ChangeLog
clientpacket.c allow suppression of default client-id. fixes bug 000037. allows 2005-08-01 14:31:13 +00:00
clientpacket.h include headers with prototypes to make sure prototypes match 2003-12-16 20:44:15 +00:00
clientsocket.c
clientsocket.h
common.c
common.h
Config.in Andreas Mohr writes: 2003-10-22 09:58:56 +00:00
COPYING
dhcpc.c allow suppression of default client-id. fixes bug 000037. allows 2005-08-01 14:31:13 +00:00
dhcpc.h
dhcpd.c
dhcpd.h
dumpleases.c
files.c
files.h
frontend.c
leases.c Wade Berrier writes: 2004-10-08 08:49:26 +00:00
leases.h
libbb_udhcp.h
Makefile
Makefile.in
options.c
options.h
packet.c
packet.h
pidfile.c
pidfile.h
README
README.dumpleases
README.udhcpc
README.udhcpd
script.c
script.h
serverpacket.c
serverpacket.h
signalpipe.c
signalpipe.h
socket.c
socket.h
static_leases.c
static_leases.h
TODO
version.h

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.