libnl/lib
Holger Eitzenberger 56d2bbe173 netfilter/ct: support optional CTA_TIMESTAMP attribute
Recent kernels support conntrack time stamping, which is a helpful
feature to determine the duration of a flow without building a flow
cache in your user space application, just to keep the 'start' time of
your flow.

Timestamps are recorded with nanosecond resolution once this feature
is enabled.

This patch adds optional support for the CTA_TIMESTAMP, then
modifies the dump routine to write that info in a format similar
to /proc/net/nf_conntrack.  This is an example output when using
NL_DUMP_LINE:

  udp 10.128.128.28:56836 <-> 10.128.129.255:8612 delta-time 30

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-09-05 17:38:59 +02:00
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup Use thread-safe strerror_r() instead of strerror() 2013-02-28 13:07:04 +01:00
genl genl: Fix cb reference leak in genl_ctrl_probe_by_name() 2013-04-02 11:51:53 +02:00
idiag More safely parse vegas info and mem info. 2013-07-25 17:59:56 -07:00
netfilter netfilter/ct: support optional CTA_TIMESTAMP attribute 2013-09-05 17:38:59 +02:00
route Call to_msg_fill_raw when defined to_msg_fill is NULL 2013-08-26 10:11:12 +02:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c addr: only translate more recent address family names and ARP types if defined 2013-04-05 10:37:55 +02:00
attr.c Wrong calcultation in nla_reserve 2013-04-28 10:34:50 +02:00
cache.c cache: Return -NLE_PROTO_MISMATCH if socket provided mismatches cache protocol 2013-07-01 12:41:42 +02:00
cache_mngr.c Handle -NLE_AGAIN in nl_cache_mngr_data_ready 2013-06-27 01:12:36 +02:00
cache_mngt.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
data.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
error.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
handlers.c Use thread-safe strerror_r() instead of strerror() 2013-02-28 13:07:04 +01:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
Makefile.am Enable linker versioning 2013-08-07 14:51:03 +02:00
msg.c msg: Avoid returning a negative value for nlmsg_attrlen() 2013-06-27 18:29:17 +02:00
nl.c nl: Increase receive buffer size to 4 pages 2013-05-08 13:52:27 +02:00
object.c Default to comparing all attributes if no oo_id_attrs defined 2013-06-27 01:12:28 +02:00
socket.c socket: Warn via debug message if local port namespace is exhausted 2013-06-28 18:53:16 +02:00
utils.c Handle the case where nl_msec2str is passed 0 msecs 2013-07-19 02:06:27 -07:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00