using libnl with the tcp_diag module

Thomas Graf tgraf at infradead.org
Tue Dec 13 09:17:24 EST 2011


On Mon, Dec 12, 2011 at 07:53:17AM -0500, Micah Nordland wrote:
> Actually, I figured out what didn't work, I didn't have the compiler
> searching in the right directory, I was searching /usr/include, when I
> should have been searching /usr/local/include. Now all I need to know is
> how to connect to the tcp_diag module. If you know, I also need to know how
> to interact with the tcp_diag module as well because no documentation
> exists for it.

There is no high level API for inet_diag in libnl. Look at misc/ss.c
in the iproute2 package for a userspace implementation.



More information about the libnl mailing list