1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/apps/public/udhcp-0.9.8-2
2024-07-22 01:58:46 -03:00
..
samples Add gpl 2024-07-22 01:58:46 -03:00
arpping.c Add gpl 2024-07-22 01:58:46 -03:00
arpping.h Add gpl 2024-07-22 01:58:46 -03:00
AUTHORS Add gpl 2024-07-22 01:58:46 -03:00
ChangeLog Add gpl 2024-07-22 01:58:46 -03:00
clientpacket.c Add gpl 2024-07-22 01:58:46 -03:00
clientpacket.h Add gpl 2024-07-22 01:58:46 -03:00
COPYING Add gpl 2024-07-22 01:58:46 -03:00
debug.h Add gpl 2024-07-22 01:58:46 -03:00
dhcpc.c Add gpl 2024-07-22 01:58:46 -03:00
dhcpc.h Add gpl 2024-07-22 01:58:46 -03:00
dhcpd.c Add gpl 2024-07-22 01:58:46 -03:00
dhcpd.h Add gpl 2024-07-22 01:58:46 -03:00
dumpleases.1 Add gpl 2024-07-22 01:58:46 -03:00
dumpleases.c Add gpl 2024-07-22 01:58:46 -03:00
files.c Add gpl 2024-07-22 01:58:46 -03:00
files.h Add gpl 2024-07-22 01:58:46 -03:00
frontend.c Add gpl 2024-07-22 01:58:46 -03:00
leases.c Add gpl 2024-07-22 01:58:46 -03:00
leases.h Add gpl 2024-07-22 01:58:46 -03:00
libbb_udhcp.h Add gpl 2024-07-22 01:58:46 -03:00
Makefile Add gpl 2024-07-22 01:58:46 -03:00
options.c Add gpl 2024-07-22 01:58:46 -03:00
options.h Add gpl 2024-07-22 01:58:46 -03:00
packet.c Add gpl 2024-07-22 01:58:46 -03:00
packet.h Add gpl 2024-07-22 01:58:46 -03:00
pidfile.c Add gpl 2024-07-22 01:58:46 -03:00
pidfile.h Add gpl 2024-07-22 01:58:46 -03:00
README Add gpl 2024-07-22 01:58:46 -03:00
README.dumpleases Add gpl 2024-07-22 01:58:46 -03:00
README.udhcpc Add gpl 2024-07-22 01:58:46 -03:00
README.udhcpd Add gpl 2024-07-22 01:58:46 -03:00
script.c Add gpl 2024-07-22 01:58:46 -03:00
script.h Add gpl 2024-07-22 01:58:46 -03:00
serverpacket.c Add gpl 2024-07-22 01:58:46 -03:00
serverpacket.h Add gpl 2024-07-22 01:58:46 -03:00
socket.c Add gpl 2024-07-22 01:58:46 -03:00
socket.h Add gpl 2024-07-22 01:58:46 -03:00
TODO Add gpl 2024-07-22 01:58:46 -03:00
udhcpc.8 Add gpl 2024-07-22 01:58:46 -03:00
udhcpd.8 Add gpl 2024-07-22 01:58:46 -03:00
udhcpd.conf.5 Add gpl 2024-07-22 01:58:46 -03: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:
	
	DEBUG: If DEBUG is defined, udhcpd will output extra debugging
	output, compile with -g, and not fork to the background when run.
	SYSLOG: If 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 two compile time options:
	
	LEASE_TIME: The default lease time if not specified in the config
	file.
	
	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.