aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-07-21 10:02:35 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-21 10:11:00 -0700
commit72961ecf84d67d6359a1b30f9b2a8427f13e1e71 (patch)
tree531aeb470c069d4ecd91a4080dc820308d84fc9d /include/linux
parentnetfilter: xt_time: fix time's time_mt()'s use of do_div() (diff)
downloadlinux-dev-72961ecf84d67d6359a1b30f9b2a8427f13e1e71.tar.xz
linux-dev-72961ecf84d67d6359a1b30f9b2a8427f13e1e71.zip
netfilter: nfnetlink_log: send complete hardware header
This patch adds some fields to NFLOG to be able to send the complete hardware header with all necessary informations. It sends to userspace: * the type of hardware link * the lenght of hardware header * the hardware header Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter/nfnetlink_log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netfilter/nfnetlink_log.h b/include/linux/netfilter/nfnetlink_log.h
index a85721332924..f661731f3cb1 100644
--- a/include/linux/netfilter/nfnetlink_log.h
+++ b/include/linux/netfilter/nfnetlink_log.h
@@ -48,6 +48,9 @@ enum nfulnl_attr_type {
NFULA_SEQ, /* instance-local sequence number */
NFULA_SEQ_GLOBAL, /* global sequence number */
NFULA_GID, /* group id of socket */
+ NFULA_HWTYPE, /* hardware type */
+ NFULA_HWHEADER, /* hardware header */
+ NFULA_HWLEN, /* hardware header length */
__NFULA_MAX
};