[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120611080908.GB28598@canuck.infradead.org>
Date: Mon, 11 Jun 2012 04:09:08 -0400
From: Thomas Graf <tgraf@...radead.org>
To: Philip Prindeville <philipp_subx@...fish-solutions.com>
Cc: Netdev <netdev@...r.kernel.org>
Subject: Re: Generic user-space routing library -- need collaborator
On Sun, Jun 03, 2012 at 01:39:24PM -0600, Philip Prindeville wrote:
> Hi.
>
> I'm working on adding a few more portability classes to Poco (a multi-platform C++ toolkit) and wanted to add a Net::Routing class for examining and manipulating the routing tables.
>
> The C++ would just be convenience wrappers around a core C library that handles the netlink semantics. I've looked at libmnl and it's handy, but I need a higher level of abstraction (for instance, parsing an RTA_NETMASK for IPv6 is anything but well-documented).
You want to look at libnl. It's similiar to libmnl but provides a higher
level of abstraction. It implements routing, netfilter and generic
netlink parsing and message construction.
http://www.infradead.org/~tgr/libnl/
You should be able to easily construct C++ wrappers around the lib.
~Thomas
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists