From 76e6042107de23790f0532e3bf3c396cba27e5aa Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 6 Mar 2009 17:22:01 +0100 Subject: include: deprecate several header files with obsolete enums This patch deprecates several header files that contain enums that were define in the very old libnetfilter_conntrack API. Signed-off-by: Pablo Neira Ayuso --- .../libnetfilter_conntrack_tcp.h | 31 +--------------------- 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'include/libnetfilter_conntrack/libnetfilter_conntrack_tcp.h') diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack_tcp.h b/include/libnetfilter_conntrack/libnetfilter_conntrack_tcp.h index 38651b5..d4b6076 100644 --- a/include/libnetfilter_conntrack/libnetfilter_conntrack_tcp.h +++ b/include/libnetfilter_conntrack/libnetfilter_conntrack_tcp.h @@ -1,5 +1,5 @@ /* - * (C) 2005 by Pablo Neira Ayuso + * (C) 2005 by Pablo Neira Ayuso * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. @@ -27,35 +27,6 @@ enum tcp_state { TCP_CONNTRACK_IGNORE }; -enum tcp_flags { - TCP_ORIG_SPORT_BIT = 0, - TCP_ORIG_SPORT = (1 << TCP_ORIG_SPORT_BIT), - - TCP_ORIG_DPORT_BIT = 1, - TCP_ORIG_DPORT = (1 << TCP_ORIG_DPORT_BIT), - - TCP_REPL_SPORT_BIT = 2, - TCP_REPL_SPORT = (1 << TCP_REPL_SPORT_BIT), - - TCP_REPL_DPORT_BIT = 3, - TCP_REPL_DPORT = (1 << TCP_REPL_DPORT_BIT), - - TCP_MASK_SPORT_BIT = 4, - TCP_MASK_SPORT = (1 << TCP_MASK_SPORT_BIT), - - TCP_MASK_DPORT_BIT = 5, - TCP_MASK_DPORT = (1 << TCP_MASK_DPORT_BIT), - - TCP_STATE_BIT = 6, - TCP_STATE = (1 << TCP_STATE_BIT), - - TCP_EXPTUPLE_SPORT_BIT = 7, - TCP_EXPTUPLE_SPORT = (1 << TCP_EXPTUPLE_SPORT_BIT), - - TCP_EXPTUPLE_DPORT_BIT = 8, - TCP_EXPTUPLE_DPORT = (1 << TCP_EXPTUPLE_DPORT_BIT) -}; - #ifdef __cplusplus } #endif -- cgit v1.2.3