Mark's networking code

As cleaned up by @ediosyncratic using git filter-branch (among other dangerous tools).
Includes several fixups from later in the branch, but I may have missed some.
Compiled locally and passes all unit and acceptance tests.  Let's see how it fares more widely ...

I suspect reviewing the gross diff is easiest, as there are (even after squashing out a few) quite a lot of changes of mind along the way.  Also: 106 commits.

Don´t recall if I changed something here, but compatability is always good.

On 15/07/14 08:57, Kristian Amlie wrote:
>
> In libenv/unix_iface.c:
>
> >                      Log(LOG_LEVEL_VERBOSE, "Found IPv6 address %s", ip->name);
> >                      EvalContextAddIpAddress(ctx, ip->name);
> > -                    EvalContextClassPutHard(ctx, ip->name, "inventory,attribute_name=none,source=agent");
> > +                    snprintf(name, sizeof(name), "ipv6_%s", CanonifyName(ip->name));
> > +                    EvalContextClassPutHard(ctx, name, "inventory,attribute_name=none,source=agent");
>
> Does this change the format of IPV6 hard classes from |aaaa__1| to 
> |ipv6_aaaa__1|? Not necessarily a bad thing, it is more properly 
> namespaced, but we may need to keep the original around for existing 
> policies. @markburgess <https://github.com/markburgess>?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/cfengine/core/pull/1837/files#r14919588>.
>

-- 
CTO and Founder CFEngine
Author of In Search Of Certainty: The Science of our Information 
Infrastructure <http://markburgess.org>