summaryrefslogtreecommitdiffstats
path: root/ipv4ll.c
Commit message (Collapse)AuthorAge
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Enforce NetBSD KNF style moreRoy Marples2009-02-11
|
* When declining a DHCP lease and we have an IPv4LL one, don't re announce our ↵Roy Marples2008-11-14
| | | | IPv4LL lease.
* Reboot off the last lease and use the last lease if not expired and user has ↵Roy Marples2008-09-15
| | | | asked for it. Also, add a reboot timeout toggle (default 10 seconds).
* Remove logger and exclusively uses syslog instead. This saves almost 2K on ↵Roy Marples2008-09-05
| | | | NetBSD/amd64 from before changing strerror to %m.
* Add a control socket so that interfaces can be dynamically re-set.Roy Marples2008-09-03
| | | | | | This requires the event loop argument being changed to void * so we can send arguments other than an interface.
* Add an event loop.Roy Marples2008-09-02
| | | | | | | | Split client.c into smaller files and functions and recode around the event loop. Add multiple interface support using the new event loop. Document changes and outstanding bugs.
* Normally I hate massive code drops, but heh.Roy Marples2008-04-11
| | | | | | | | | | The code has been drastically re-arranged. Instead of populating a custom structure while parsing dhcp messages, we now pluck what we need right out of the message itself. We have custom functions and a lookup table to make this really easy. This makes us more like dhclient and udhcpc, and will enable us to easily add (and remove!) more dhcp options without having to actually change the code (much). We now store the real dhcp message we got in /var/db/dhcpcd-$iface.lease, the mtime of the file being used as when we got the lease. This file is read in when re-using an old lease instead of parsing the .info file. The benefit of all of this means that we're actually ~15k smaller when compiled with the same features. This has been tested for quite some time, and I'm pretty sure most bugs with the 3.2 branch have been fixed whilst making this. Right now, we are 99% command line compatible with the 3.2 branch.
* Change code style to match the BSDs in the hope the might adpot it instead ↵Roy Marples2008-03-20
| | | | of dhclient.
* Quiet some lint warnings.Roy Marples2008-01-21
|
* Prefer for (;;) over while (1)Roy Marples2008-01-21
|
* Re format for standard tabs.Roy Marples2008-01-16
|
* Belatedly into 2008 :)Roy Marples2008-01-08
|
* Re-license as 2-clause BSD as I've re-written everything from the old ↵Roy Marples2007-11-15
| | | | dhcpcd-2 code base now.
* Reword the headers to just say we use the GPLv2.Roy Marples2007-11-07
|
* Update my e-mail address as I have retired from Gentoo.Roy Marples2007-11-06
|
* Increase ipv4ll lease time to 20 seconds so we attempt a dhcp request every ↵Roy Marples2007-10-23
| | | | 10 seconds
* Return on all errorsRoy Marples2007-10-11
|
* We now do ARP checking by default as recommended by RFC 2131.Roy Marples2007-07-18
Add RFC 3927 (aka IPV4LL aka APIPA) support by default.