On Thu, Jun 12, 2008, Patrick McHardy <kaber@xxxxxxxxx> wrote:
> Julius Volz wrote:
>> Ah, that's what I thought... Are there any simple kernel examples with
>> userspace counterparts to look at? I know iproute2 uses netlink, but
>> it seems like a rather complicated example.
>
> For nfnetlink: net/netfilter/nf_conntrack_netlink.c and
> libnfnetlink_conntrack from git.netfilter.org.
Thanks!
>> Genetlink seems especially nice, although I couldn't find a general
>> explanation of it other than in git history.
>
> I don't have an example for genetlink, but I guess you should
> find some in libnl. In this case I guess both would be fine
> since ipvs is only loosely tied to the rest of netfilter.
Ok, my first impression is that genetlink is aimed at being simple to
use (and has a nice howto).
So we'll work on a genetlink interface and some of the other v6 patch
issues and then post again in a while. Thanks for the feedback!
Horms: ping if you're interested or have some good ideas for this.
Julius
--
Google Switzerland GmbH
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|