|
@@ -55,22 +55,6 @@ struct tcphdr {
|
|
|
__u16 urg_ptr;
|
|
|
};
|
|
|
|
|
|
-#define TCP_ACTION_FIN (1 << 7)
|
|
|
-
|
|
|
-enum {
|
|
|
- TCPF_ESTABLISHED = (1 << 1),
|
|
|
- TCPF_SYN_SENT = (1 << 2),
|
|
|
- TCPF_SYN_RECV = (1 << 3),
|
|
|
- TCPF_FIN_WAIT1 = (1 << 4),
|
|
|
- TCPF_FIN_WAIT2 = (1 << 5),
|
|
|
- TCPF_TIME_WAIT = (1 << 6),
|
|
|
- TCPF_CLOSE = (1 << 7),
|
|
|
- TCPF_CLOSE_WAIT = (1 << 8),
|
|
|
- TCPF_LAST_ACK = (1 << 9),
|
|
|
- TCPF_LISTEN = (1 << 10),
|
|
|
- TCPF_CLOSING = (1 << 11)
|
|
|
-};
|
|
|
-
|
|
|
/*
|
|
|
* The union cast uses a gcc extension to avoid aliasing problems
|
|
|
* (union is compatible to any of its members)
|