Mike Frysinger 5eda15566a move out of subdir 19 سال پیش
..
AUTHORS 5eda15566a move out of subdir 19 سال پیش
COPYING 5eda15566a move out of subdir 19 سال پیش
ChangeLog 5eda15566a move out of subdir 19 سال پیش
Config.in 5eda15566a move out of subdir 19 سال پیش
Makefile 5eda15566a move out of subdir 19 سال پیش
Makefile.in 5eda15566a move out of subdir 19 سال پیش
README 5eda15566a move out of subdir 19 سال پیش
README.dumpleases 5eda15566a move out of subdir 19 سال پیش
README.udhcpc 5eda15566a move out of subdir 19 سال پیش
README.udhcpd 5eda15566a move out of subdir 19 سال پیش
TODO 5eda15566a move out of subdir 19 سال پیش
arpping.c 5eda15566a move out of subdir 19 سال پیش
arpping.h 5eda15566a move out of subdir 19 سال پیش
clientpacket.c 5eda15566a move out of subdir 19 سال پیش
clientpacket.h 5eda15566a move out of subdir 19 سال پیش
clientsocket.c 5eda15566a move out of subdir 19 سال پیش
clientsocket.h 5eda15566a move out of subdir 19 سال پیش
common.c 5eda15566a move out of subdir 19 سال پیش
common.h 5eda15566a move out of subdir 19 سال پیش
dhcpc.c 5eda15566a move out of subdir 19 سال پیش
dhcpc.h 5eda15566a move out of subdir 19 سال پیش
dhcpd.c 5eda15566a move out of subdir 19 سال پیش
dhcpd.h 5eda15566a move out of subdir 19 سال پیش
dumpleases.c 5eda15566a move out of subdir 19 سال پیش
files.c 5eda15566a move out of subdir 19 سال پیش
files.h 5eda15566a move out of subdir 19 سال پیش
frontend.c 5eda15566a move out of subdir 19 سال پیش
leases.c 5eda15566a move out of subdir 19 سال پیش
leases.h 5eda15566a move out of subdir 19 سال پیش
libbb_udhcp.h 5eda15566a move out of subdir 19 سال پیش
options.c 5eda15566a move out of subdir 19 سال پیش
options.h 5eda15566a move out of subdir 19 سال پیش
packet.c 5eda15566a move out of subdir 19 سال پیش
packet.h 5eda15566a move out of subdir 19 سال پیش
pidfile.c 5eda15566a move out of subdir 19 سال پیش
pidfile.h 5eda15566a move out of subdir 19 سال پیش
script.c 5eda15566a move out of subdir 19 سال پیش
script.h 5eda15566a move out of subdir 19 سال پیش
serverpacket.c 5eda15566a move out of subdir 19 سال پیش
serverpacket.h 5eda15566a move out of subdir 19 سال پیش
signalpipe.c 5eda15566a move out of subdir 19 سال پیش
signalpipe.h 5eda15566a move out of subdir 19 سال پیش
socket.c 5eda15566a move out of subdir 19 سال پیش
socket.h 5eda15566a move out of subdir 19 سال پیش
static_leases.c 5eda15566a move out of subdir 19 سال پیش
static_leases.h 5eda15566a move out of subdir 19 سال پیش
version.h 5eda15566a move out of subdir 19 سال پیش

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.