ndhc/ifchd
Nicholas J. Kain f9c2059d37 Quit using malloc entirely in ifchd and reduce buffer copies.
This change also modifies the ndhc/ifchd wire protocol slightly.  The
new protocol doesn't overload the ':' character as a key:value separator
and a statement separator.  Instead ';' is now used as a statement separator.
The new format allows for more robust error-checking and reporting, and it
greatly simplifies the parser.  Old versions of ndhc/ifchd will not work
properly with ones compiled after this commit.

The 'domain' and 'search' keywords in resolv.conf updates are now used
more precisely.  The first domain in an update is the 'domain', and the
subsequent 5 domains are 'search' domains.

There are also supporting cleanups that pass struct ifchd_client pointers
to functions instead of passing index values.

This commit is large, but it cannot really be broken up into smaller
chunks since the changes are dependent on each other.
2012-07-20 17:31:15 -04:00
..
CMakeLists.txt Convert to using shared ncmlib. 2010-11-12 05:42:07 -05:00
ifch_proto.h Some options are never sent to ifchd, but we unfortunately would need to 2011-07-25 04:26:34 -04:00
ifchd-defines.h Quit using malloc entirely in ifchd and reduce buffer copies. 2012-07-20 17:31:15 -04:00
ifchd.8 Update copyright and license print spam. 2012-07-20 09:37:41 -04:00
ifchd.c Quit using malloc entirely in ifchd and reduce buffer copies. 2012-07-20 17:31:15 -04:00
linux.c Quit using malloc entirely in ifchd and reduce buffer copies. 2012-07-20 17:31:15 -04:00
linux.h Quit using malloc entirely in ifchd and reduce buffer copies. 2012-07-20 17:31:15 -04:00