diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-13 16:15:18 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-13 16:15:18 +0100 |
commit | 8d6efef0daed05925bf9b13c21948afa651482a5 (patch) | |
tree | ae9053c2a1579d3a74fd68cd508d1922eafccfb2 /include | |
parent | 77d7daef4e41b5fb55d9fb2c4c0a66fe7039887d (diff) | |
download | conntrack-tools-8d6efef0daed05925bf9b13c21948afa651482a5.tar.gz conntrack-tools-8d6efef0daed05925bf9b13c21948afa651482a5.zip |
network: use NET_T_* instead of NFCT_Q_*
This patch replaces the use of NFCT_Q_* in the message type by
specific network message type NET_T_*. The query types are reserved
for libnetfilter_conntrack operations.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h index 9098e5c..b6722bd 100644 --- a/include/network.h +++ b/include/network.h @@ -17,6 +17,13 @@ struct nethdr { }; #define NETHDR_SIZ nethdr_align(sizeof(struct nethdr)) +enum nethdr_type { + NET_T_STATE_NEW = 0, + NET_T_STATE_UPD, + NET_T_STATE_DEL, + NET_T_STATE_MAX = NET_T_STATE_DEL, +}; + int nethdr_align(int len); int nethdr_size(int len); void nethdr_set(struct nethdr *net, int type); |