summaryrefslogtreecommitdiffstats
path: root/configure.h
Commit message (Collapse)AuthorAge
* Add (c) to CopyrightRoy Marples2009-05-01
|
* We can now detected primary addresses added or changed in BSD.Roy Marples2009-03-19
| | | | | | | | As such, we can wait for a 3RDPARTY to configure the interface, such as PPP. We can then take the destination addess and automatically give it a default route or any other DHCP option such as DNS servers. This addresses #159.
* Add route removal detection to Linux.Roy Marples2009-01-27
| | | | | | This involved a rejig of the socket code so we can detect if we removed the route or not.
* We need to ensure that manual route deletions are deleted from our internal ↵Roy Marples2009-01-26
| | | | routing table also. Partial fix for #159.
* --getinterfaces should be more than sufficient for the control socket.Roy Marples2009-01-15
|
* Copyright.Roy Marples2009-01-13
|
* Store the reason we run the script against the interface state.Roy Marples2009-01-13
| | | | | This enables us to query states via the control socket.
* 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.
* Rename exec_script to run_script. Split the exec/fork part to static ↵Roy Marples2008-08-11
| | | | exec_script. This allows us to use vfork and stop gcc complaining about exec stamping on the env variable.
* When we explictly don't want an option, don't put it in the env.Roy Marples2008-05-15
|
* Remove the .info file and now set environment vars in the same vein as ↵Roy Marples2008-04-16
| | | | dhclient. This allows similar scripts to be used.
* As we're only dealing with dhcpcd.sh now, the exec_cmd function doesn't need ↵Roy Marples2008-04-13
| | | | to be so complex.
* 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
|
* Don't overrwite .info files when dropping if they already existRoy Marples2007-05-14
|
* config.h now has the compile time options, instead of being dotted around.Roy Marples2007-05-10
| | | | | | Added -E option, which reads the last info file and uses the information there if we timeout and the lease is still valid, thanks to Roberto Angelino.
* Rename define and add comment to info fileRoy Marples2007-04-16
|
* Remove gateways from the ROUTES and add to GATEWAYSRoy Marples2007-04-15
| | | | | | define #INFO_COMPAT if you wish your .info file to add support for some old 1.x and 2.x structure.
* Cuddle up to LKML style CRoy Marples2007-04-11
|
* You can now build dhcpcd without support for writing ntp, nis and info filesRoy Marples2007-04-03
| | | | | | | | which makes the binary a few k smaller. Support OpenNTP as well as NTP. Re-work the state engine a little, so we renew and rebind correctly. Subsequent debug options stop dhcpcd from daemonising.
* For infinite timeout, we now resent the last request at TIMEOUT_MINIRoy Marples2007-01-16
| | | | | | | | | intervals like we do otherwise. We now return a non zero exit code on SIGTERM and SIGINT if we have not forked into the background. When NIS and/or NTP servers are updated, we restart the service for them if we can.
* Add loads of debugging CFLAGS so we can remove all compiler warningsRoy Marples2006-12-14
|
* Add dhcpcd-3 re-writeRoy Marples2006-11-27