hush/networking/udhcp
Rob Landley 230b411de8 Fix the warning by rewriting the function to be smaller and simpler.
I'd appreciate somebody on a __BIG_ENDIAN platform testing this out; I haven't
got the hardware...
2005-09-08 03:22:09 +00:00
..
arpping.c Revert the uptime() removal. Let the list sort it out... 2005-05-04 02:15:23 +00:00
arpping.h Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
AUTHORS Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
ChangeLog Update my email address, document some of my tasks in the AUTHORS file 2004-04-25 05:11:19 +00:00
clientpacket.c allow suppression of default client-id. fixes bug 000037. allows 2005-08-01 14:31:13 +00:00
clientpacket.h
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 Revert the uptime() removal. Let the list sort it out... 2005-05-04 02:15:23 +00:00
common.h Revert the uptime() removal. Let the list sort it out... 2005-05-04 02:15:23 +00:00
Config.in
COPYING
dhcpc.c allow suppression of default client-id. fixes bug 000037. allows 2005-08-01 14:31:13 +00:00
dhcpc.h merge from udhcp module 2004-12-06 14:59:45 +00:00
dhcpd.c Off by one error in max_leases sanity check. Bug 349, apparently. 2005-09-01 02:43:39 +00:00
dhcpd.h merge from udhcp module 2004-12-06 14:59:45 +00:00
dumpleases.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
files.c Wade Berrier writes: 2004-10-08 08:49:26 +00:00
files.h
frontend.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
leases.c Wade Berrier writes: 2004-10-08 08:49:26 +00:00
leases.h Use standard C99 types 2004-01-30 23:45:53 +00:00
libbb_udhcp.h use busybox sysinfo struct 2004-05-19 09:18:04 +00:00
Makefile egor duda writes: 2004-10-08 07:46:08 +00:00
Makefile.in use toplevel ARFLAGS and update default ARFLAGS to be quiet 2005-07-27 01:09:24 +00:00
options.c Fix the warning by rewriting the function to be smaller and simpler. 2005-09-08 03:22:09 +00:00
options.h Use standard C99 types 2004-01-30 23:45:53 +00:00
packet.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
packet.h Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
pidfile.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
pidfile.h Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
README Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
README.dumpleases
README.udhcpc merge from udhcp module 2004-12-06 14:59:45 +00:00
README.udhcpd Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
script.c fix memory leak caused by switch to vfork 2004-05-19 07:45:47 +00:00
script.h Patch from Bernhard Fischer to make a bunch of symbols static 2005-04-16 19:39:00 +00:00
serverpacket.c Wade Berrier writes: 2004-10-08 08:49:26 +00:00
serverpacket.h Use standard C99 types 2004-01-30 23:45:53 +00:00
signalpipe.c Larry Doolittle writes: 2004-04-14 17:51: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 Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
socket.h Use standard C99 types 2004-01-30 23:45:53 +00:00
static_leases.c Wade Berrier writes: 2004-10-08 08:49:26 +00:00
static_leases.h Wade Berrier writes: 2004-10-08 08:49:26 +00:00
TODO Finish remerging busybox udhcp and udhcp. Some cleanups as well. 2003-12-18 22:25:38 +00:00
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.