summaryrefslogtreecommitdiffstats
path: root/ipv4ll.h
Commit message (Collapse)AuthorAge
* Add (c) to CopyrightRoy Marples2009-05-01
|
* 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.
* Split interface and socket out into OS bpf, if-bsd and if-linux.Roy Marples2008-03-24
|
* Change code style to match the BSDs in the hope the might adpot it instead ↵Roy Marples2008-03-20
| | | | of dhclient.
* 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
|
* Always define IN_LINKLOCALRoy Marples2007-10-17
|
* Many thanks to Michael Durrant for testing the below changes.Roy Marples2007-09-04
| | | | | | | | | Compile and work on OSX/Darwin. If we have no fork then we re-exec ourselves with --daemonised. Improved the build system so we automatically detect if we need librt or libresolv and if fork() works or not. Move back to using librt for clock_gettime on Linux systems.
* 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.