diff options
author | Eric Leblond <eric@inl.fr> | 2008-07-17 11:10:41 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-07-17 11:10:41 +0200 |
commit | b023279fffcc848c1d2787a1bda33a3104808110 (patch) | |
tree | cf0b62d4b2116d6d62f7ec2f6fe76051622594ed /include/libnetfilter_log/linux_nfnetlink_log.h | |
parent | 8900be8c52165843df22ded681aebb5e05078b63 (diff) |
Add parsing function for raw hardware header
This patch adds support for the parsing of NFULA_HWTYPE, NFULA_HWHEADER,
and NFULA_HWLEN part of the NFLOG message. This permits to have a ULOG
like behaviour but thanks to NFULA_HWTYPE we will be able to parse the
message cleanly in userspace.
Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/libnetfilter_log/linux_nfnetlink_log.h')
-rw-r--r-- | include/libnetfilter_log/linux_nfnetlink_log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libnetfilter_log/linux_nfnetlink_log.h b/include/libnetfilter_log/linux_nfnetlink_log.h index f8e174d..4c802c8 100644 --- a/include/libnetfilter_log/linux_nfnetlink_log.h +++ b/include/libnetfilter_log/linux_nfnetlink_log.h @@ -54,6 +54,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 }; |