Go to file
2008-03-31 10:23:59 +00:00
mk Fix compile on Linux. 2008-03-28 17:56:45 +00:00
.gitignore Only ignore dhcpcd bz2 files. 2008-01-09 10:17:57 +00:00
arp.c read(2) works on ssize_t so we should use this rather than size_t for our buffers. A DHCP or ARP packet still easily fits into this. 2008-03-31 10:23:59 +00:00
arp.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
bpf-filter.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
bpf.c read(2) works on ssize_t so we should use this rather than size_t for our buffers. A DHCP or ARP packet still easily fits into this. 2008-03-31 10:23:59 +00:00
client.c read(2) works on ssize_t so we should use this rather than size_t for our buffers. A DHCP or ARP packet still easily fits into this. 2008-03-31 10:23:59 +00:00
client.h Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
common.c Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
common.h Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
config.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
configure.c Pointless looping in bpf.packet, as pointed out by D. Young. 2008-03-30 08:26:34 +00:00
configure.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
dhcp.c Rework our error handling code a little to save ~5k on x86_64 2008-03-29 08:40:55 +00:00
dhcp.h Add alternative building method to save around 500 bytes. 2008-03-24 20:09:30 +00:00
dhcpcd.8.in Release dhcpcd-3.2.2 2008-02-20 17:09:14 +00:00
dhcpcd.c bitmask options should take less space than booleans. 2008-03-29 19:14:52 +00:00
dhcpcd.h bitmask options should take less space than booleans. 2008-03-29 19:14:52 +00:00
dhcpcd.sh whitespace 2007-11-28 16:14:38 +00:00
duid.c Rework our error handling code a little to save ~5k on x86_64 2008-03-29 08:40:55 +00:00
duid.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
if-bsd.c Pointless looping in bpf.packet, as pointed out by D. Young. 2008-03-30 08:26:34 +00:00
if-linux.c Remove all logging from if.c and into the proper bits. 2008-03-29 16:50:18 +00:00
if.c bitmask options should take less space than booleans. 2008-03-29 19:14:52 +00:00
if.h bitmask options should take less space than booleans. 2008-03-29 19:14:52 +00:00
info.c bitmask options should take less space than booleans. 2008-03-29 19:14:52 +00:00
info.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
ipv4ll.c Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
ipv4ll.h Split interface and socket out into OS bpf, if-bsd and if-linux. 2008-03-24 01:29:33 +00:00
logger.c strlcpy is more lightweight than memcpy. 2008-03-29 17:03:34 +00:00
logger.h Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
Makefile Install INFODIR in the Makefile to reduce the dhcpcd code size. 2008-03-28 13:16:04 +00:00
queue.h Import STAIL_QUEUE from FreeBSD headers as not all libc's we support provide it. 2008-03-04 11:44:44 +00:00
README If not Linux then assume BSD. 2008-03-27 20:10:31 +00:00
signal.c Rework our error handling code a little to save ~5k on x86_64 2008-03-29 08:40:55 +00:00
signal.h Change code style to match the BSDs in the hope the might adpot it instead of dhclient. 2008-03-20 16:47:51 +00:00
socket.c read(2) works on ssize_t so we should use this rather than size_t for our buffers. A DHCP or ARP packet still easily fits into this. 2008-03-31 10:23:59 +00:00
socket.h read(2) works on ssize_t so we should use this rather than size_t for our buffers. A DHCP or ARP packet still easily fits into this. 2008-03-31 10:23:59 +00:00

dhcpcd-3 - DHCP client daemon
Copyright 2006-2008 Roy Marples <roy@marples.name>


Installation
------------
Edit config.h to match your building requirements.

Take special note of ENABLE_DUID and unset it if the target media is 
volatile, like say a LiveCD.

Then just make; make install

man dhcpcd for command line options


Notes
-----
If you're cross compiling you may need to set the below knobs to avoid
automatic tests.
HAVE_FORK=yes | no
OS=BSD | Linux

We try and detect how to restart ntp and ypbind, you can override this with
HAVE_INIT=no or force one of these values
OPENRC   (OpenRC as used by Gentoo (forked from baselayout))
BSDRC    (BSD RC system - /etc/rc.d/ntpd restart )
SERVICE  (RedHat service command - service ntpd restart)
SLACKRC  (Slackware RC system - /etc/rc.d/rc.ntpd restart)
SYSV     (SYSV style - /etc/init.d/ntpd restart)

You can change the default dir where dhcpcd stores it's .info files with
INFODIR=/var/db

We now default to using -std=c99. For 64-bit linux, this always works, but
for 32-bit linux it requires either gnu99 or a patch to asm/types.h.
Most distros patch linux headers so this should work fine.
linux-2.6.24 finally ships with a working 32-bit header.
If your linux headers are older, or your distro hasn't patched them you can
set CSTD=gnu99 to work around this.


ChangeLog
---------
We no longer supply a ChangeLog.
However, you're more than welcome to read the git commit comments at
http://git.marples.name/?p=dhcpcd/.git;a=summary