ndk-busybox/networking/udhcp
2006-05-10 16:11:02 +00:00
..
samples add back in udhcp support 2006-05-08 03:20:50 +00:00
arpping.c add back in udhcp support 2006-05-08 03:20:50 +00:00
arpping.h add back in udhcp support 2006-05-08 03:20:50 +00:00
AUTHORS add back in udhcp support 2006-05-08 03:20:50 +00:00
ChangeLog add back in udhcp support 2006-05-08 03:20:50 +00:00
clientpacket.c add back in udhcp support 2006-05-08 03:20:50 +00:00
clientpacket.h add back in udhcp support 2006-05-08 03:20:50 +00:00
clientsocket.c add back in udhcp support 2006-05-08 03:20:50 +00:00
clientsocket.h add back in udhcp support 2006-05-08 03:20:50 +00:00
common.c add back in udhcp support 2006-05-08 03:20:50 +00:00
common.h add back in udhcp support 2006-05-08 03:20:50 +00:00
Config.in add back in udhcp support 2006-05-08 03:20:50 +00:00
COPYING add back in udhcp support 2006-05-08 03:20:50 +00:00
dhcpc.c add back in udhcp support 2006-05-08 03:20:50 +00:00
dhcpc.h add back in udhcp support 2006-05-08 03:20:50 +00:00
dhcpd.c add back in udhcp support 2006-05-08 03:20:50 +00:00
dhcpd.h add back in udhcp support 2006-05-08 03:20:50 +00:00
dumpleases.1 add back in udhcp support 2006-05-08 03:20:50 +00:00
dumpleases.c add back in udhcp support 2006-05-08 03:20:50 +00:00
files.c add back in udhcp support 2006-05-08 03:20:50 +00:00
files.h add back in udhcp support 2006-05-08 03:20:50 +00:00
frontend.c add back in udhcp support 2006-05-08 03:20:50 +00:00
leases.c add back in udhcp support 2006-05-08 03:20:50 +00:00
leases.h add back in udhcp support 2006-05-08 03:20:50 +00:00
libbb_udhcp.h add back in udhcp support 2006-05-08 03:20:50 +00:00
Makefile add back in udhcp support 2006-05-08 03:20:50 +00:00
Makefile.busybox add back in udhcp support 2006-05-08 03:20:50 +00:00
Makefile.in add back in udhcp support 2006-05-08 03:20:50 +00:00
Makefile.udhcp add back in udhcp support 2006-05-08 03:20:50 +00:00
options.c add back in udhcp support 2006-05-08 03:20:50 +00:00
options.h add back in udhcp support 2006-05-08 03:20:50 +00:00
packet.c add back in udhcp support 2006-05-08 03:20:50 +00:00
packet.h add back in udhcp support 2006-05-08 03:20:50 +00:00
pidfile.c add back in udhcp support 2006-05-08 03:20:50 +00:00
pidfile.h add back in udhcp support 2006-05-08 03:20:50 +00:00
README add back in udhcp support 2006-05-08 03:20:50 +00:00
README.dumpleases add back in udhcp support 2006-05-08 03:20:50 +00:00
README.udhcpc - add helptext for --retries 2006-05-10 16:11:02 +00:00
README.udhcpd add back in udhcp support 2006-05-08 03:20:50 +00:00
script.c add back in udhcp support 2006-05-08 03:20:50 +00:00
script.h add back in udhcp support 2006-05-08 03:20:50 +00:00
serverpacket.c add back in udhcp support 2006-05-08 03:20:50 +00:00
serverpacket.h add back in udhcp support 2006-05-08 03:20:50 +00:00
signalpipe.c add back in udhcp support 2006-05-08 03:20:50 +00:00
signalpipe.h add back in udhcp support 2006-05-08 03:20:50 +00:00
socket.c add back in udhcp support 2006-05-08 03:20:50 +00:00
socket.h add back in udhcp support 2006-05-08 03:20:50 +00:00
static_leases.c add back in udhcp support 2006-05-08 03:20:50 +00:00
static_leases.h add back in udhcp support 2006-05-08 03:20:50 +00:00
TODO add back in udhcp support 2006-05-08 03:20:50 +00:00
udhcpc.8 add back in udhcp support 2006-05-08 03:20:50 +00:00
udhcpd.8 add back in udhcp support 2006-05-08 03:20:50 +00:00
udhcpd.conf.5 add back in udhcp support 2006-05-08 03:20:50 +00:00
version.h add back in udhcp support 2006-05-08 03:20:50 +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.