[NETFILTER] nfnetlink_log: add sequence numbers for log events
authorHarald Welte <laforge@netfilter.org>
Tue, 21 Mar 2006 01:15:11 +0000 (17:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 01:15:11 +0000 (17:15 -0800)
commit0af5f6c1eba4a18e6b2ed518b589927d778c6c16
treeea905a47e7ce2dc2d5076076edc0bf641cf3691c
parent5ee956125a780baf15f2c1d09f2cbf8adcf598fe
[NETFILTER] nfnetlink_log: add sequence numbers for log events

By using a sequence number for every logged netfilter event, we can
determine from userspace whether logging information was lots somewhere
downstream.

The user has a choice of either having per-instance local sequence
counters, or using a global sequence counter, or both.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink_log.h
net/netfilter/nfnetlink_log.c