Source

netplug / netplug.h

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Close file descriptors on exec.
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Don't burn out if we don't find an interface name. This is needed for some wonky drivers, such as ndiswrapper.
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Update copyright.
Bryan O'Sullivan
Merge
Tags
v1.0.1
Bryan O'Sullivan
Bump version.
jsgf
Further updates to deal with initial state of each controlled interface.
jsgf
Add an explicit state machine for each interface to track the flag state changes and the various scripts. This should make the behaviour much more controllable. Still to do: also poll the interface flag state so that we can detect the interface state at startup, rather than purely relying on netlink state change events.
Bryan O'Sullivan
Add GPLv2 license header. Turn tabs into spaces.
Bryan O'Sullivan
Tell gcc what do_log is, and fix a few bad calls.
Bryan O'Sullivan
Convert to new logging API.
Bryan O'Sullivan
Get rid of calls to /sbin/hotplug and /sbin/ip, and replace them with calls to a script we provide.
Bryan O'Sullivan
Run hotplug on cable insertion, and bring interface back up on removal. Capitalise warnings.
Bryan O'Sullivan
Autoprobe for interfaces. This is nceessary for interfaces that may have been compiled as kernel modules and not yet loaded.
Bryan O'Sullivan
Added getopt bits. Now try to parse real config file.
Bryan O'Sullivan
Rudimentary ignoring of uninteresting interfaces.
Bryan O'Sullivan
Initial skeleton of config file bits.
Bryan O'Sullivan
Minor restructuring for readability.
Bryan O'Sullivan
Add interface handling callback. Early days, but we're getting there.
Bryan O'Sullivan
Some code tidying; netlink_listen almost ready for use.
Bryan O'Sullivan
Split code into multiple files.