Rob Landley 0b1ff5a606 Tobias Krawutschke found a bug where the DHCP client would accept packets 19 years ago
..
AUTHORS c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
COPYING 61fb48930f added full udhcp integration 22 years ago
ChangeLog c6992feee3 Update my email address, document some of my tasks in the AUTHORS file 20 years ago
Config.in 88c916bdec Andreas Mohr writes: 21 years ago
Makefile 7daa076d3e egor duda writes: 20 years ago
Makefile.in abf58d6ba5 Wade Berrier writes: 20 years ago
README c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
README.dumpleases f5ecd43473 sync to udhcp 0.9.8 22 years ago
README.udhcpc d824853de3 merge from udhcp module 20 years ago
README.udhcpd c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
TODO 4e864a36b6 Finish remerging busybox udhcp and udhcp. Some cleanups as well. 21 years ago
arpping.c 918f2ab3d7 Revert the uptime() removal. Let the list sort it out... 19 years ago
arpping.h c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
clientpacket.c d824853de3 merge from udhcp module 20 years ago
clientpacket.h 76729b8c69 include headers with prototypes to make sure prototypes match 21 years ago
clientsocket.c 4e864a36b6 Finish remerging busybox udhcp and udhcp. Some cleanups as well. 21 years ago
clientsocket.h 4e864a36b6 Finish remerging busybox udhcp and udhcp. Some cleanups as well. 21 years ago
common.c 918f2ab3d7 Revert the uptime() removal. Let the list sort it out... 19 years ago
common.h 918f2ab3d7 Revert the uptime() removal. Let the list sort it out... 19 years ago
dhcpc.c 0b1ff5a606 Tobias Krawutschke found a bug where the DHCP client would accept packets 19 years ago
dhcpc.h d824853de3 merge from udhcp module 20 years ago
dhcpd.c abf58d6ba5 Wade Berrier writes: 20 years ago
dhcpd.h d824853de3 merge from udhcp module 20 years ago
dumpleases.c c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
files.c abf58d6ba5 Wade Berrier writes: 20 years ago
files.h 24833430bc Vodz, last_patch_88 21 years ago
frontend.c c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
leases.c abf58d6ba5 Wade Berrier writes: 20 years ago
leases.h ad95373efc Use standard C99 types 21 years ago
libbb_udhcp.h 5c9323f4e6 use busybox sysinfo struct 20 years ago
options.c d824853de3 merge from udhcp module 20 years ago
options.h ad95373efc Use standard C99 types 21 years ago
packet.c aff114c33d Larry Doolittle writes: 20 years ago
packet.h c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
pidfile.c aff114c33d Larry Doolittle writes: 20 years ago
pidfile.h aff114c33d Larry Doolittle writes: 20 years ago
script.c 57f49d3185 fix memory leak caused by switch to vfork 20 years ago
script.h 14f5c8d764 Patch from Bernhard Fischer to make a bunch of symbols static 19 years ago
serverpacket.c abf58d6ba5 Wade Berrier writes: 20 years ago
serverpacket.h ad95373efc Use standard C99 types 21 years ago
signalpipe.c aff114c33d Larry Doolittle writes: 20 years ago
signalpipe.h 4e864a36b6 Finish remerging busybox udhcp and udhcp. Some cleanups as well. 21 years ago
socket.c c7bda1ce65 Remove trailing whitespace. Update copyright to include 2004. 21 years ago
socket.h ad95373efc Use standard C99 types 21 years ago
static_leases.c abf58d6ba5 Wade Berrier writes: 20 years ago
static_leases.h abf58d6ba5 Wade Berrier writes: 20 years ago
version.h 1eb7a17b12 resync with udhcp cvs 22 years ago

README

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 \
/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.