From: Thomas Graf <tgraf@infradead.org>
To: Philip Prindeville <philipp_subx@redfish-solutions.com>
Cc: Netdev <netdev@vger.kernel.org>
Subject: Re: Generic user-space routing library -- need collaborator
Date: Mon, 11 Jun 2012 04:09:08 -0400 [thread overview]
Message-ID: <20120611080908.GB28598@canuck.infradead.org> (raw)
In-Reply-To: <4FCBBD6C.8020904@redfish-solutions.com>
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
prev parent reply other threads:[~2012-06-11 8:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-03 19:39 Generic user-space routing library -- need collaborator Philip Prindeville
2012-06-11 8:09 ` Thomas Graf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120611080908.GB28598@canuck.infradead.org \
--to=tgraf@infradead.org \
--cc=netdev@vger.kernel.org \
--cc=philipp_subx@redfish-solutions.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).