From 8d6efef0daed05925bf9b13c21948afa651482a5 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 13 Dec 2008 16:15:18 +0100 Subject: 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 --- include/network.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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); -- cgit v1.2.3