netlink-conntrack: New module.
authorDaniele Di Proietto <diproiettod@vmware.com>
Tue, 3 Nov 2015 21:52:44 +0000 (13:52 -0800)
committerDaniele Di Proietto <diproiettod@vmware.com>
Tue, 22 Dec 2015 01:23:27 +0000 (17:23 -0800)
commit6830a0c0e6bfe022f26277330ca2ded917dc5a83
treef726ad8591a08367a01ade61a278c72d05c99626
parent3948eb54f33cd3ea225398dd431d652b078e9596
netlink-conntrack: New module.

This module uses the netlink interface provide by the Linux kernel
connection tracker to provide some visibility into the conntrack tables.

The module provides functions to:

* Convert a netlink representation of a connection into a
  struct 'ct_dpif_entry'.

* Dump all the connections.

* Flush all the connections.

* Listen for updates by registering a netlink notifier.

It will be used by dpif-netlink to implement the interface required by
the ct-dpif module.

Based on original work by Jarno Rajahalme

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Joe Stringer <joe@ovn.org>
lib/automake.mk
lib/netlink-conntrack.c [new file with mode: 0644]
lib/netlink-conntrack.h [new file with mode: 0644]