1 #ifndef _LIBNETFILTER_CONNTRACK_TCP_H_
2 #define _LIBNETFILTER_CONNTRACK_TCP_H_
10 TCP_CONNTRACK_SYN_SENT,
11 TCP_CONNTRACK_SYN_RECV,
12 TCP_CONNTRACK_ESTABLISHED,
13 TCP_CONNTRACK_FIN_WAIT,
14 TCP_CONNTRACK_CLOSE_WAIT,
15 TCP_CONNTRACK_LAST_ACK,
16 TCP_CONNTRACK_TIME_WAIT,
19 #define TCP_CONNTRACK_SYN_SENT2 TCP_CONNTRACK_LISTEN
27 TCP_ORIG_SPORT_BIT = 0,
28 TCP_ORIG_SPORT = (1 << TCP_ORIG_SPORT_BIT),
30 TCP_ORIG_DPORT_BIT = 1,
31 TCP_ORIG_DPORT = (1 << TCP_ORIG_DPORT_BIT),
33 TCP_REPL_SPORT_BIT = 2,
34 TCP_REPL_SPORT = (1 << TCP_REPL_SPORT_BIT),
36 TCP_REPL_DPORT_BIT = 3,
37 TCP_REPL_DPORT = (1 << TCP_REPL_DPORT_BIT),
39 TCP_MASK_SPORT_BIT = 4,
40 TCP_MASK_SPORT = (1 << TCP_MASK_SPORT_BIT),
42 TCP_MASK_DPORT_BIT = 5,
43 TCP_MASK_DPORT = (1 << TCP_MASK_DPORT_BIT),
46 TCP_STATE = (1 << TCP_STATE_BIT),
48 TCP_EXPTUPLE_SPORT_BIT = 7,
49 TCP_EXPTUPLE_SPORT = (1 << TCP_EXPTUPLE_SPORT_BIT),
51 TCP_EXPTUPLE_DPORT_BIT = 8,
52 TCP_EXPTUPLE_DPORT = (1 << TCP_EXPTUPLE_DPORT_BIT)