patch-2.1.96 linux/include/linux/tcp.h
Next file: linux/include/net/ipx.h
Previous file: linux/include/linux/sysctl.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Apr 14 13:01:03 1998
- Orig file:
v2.1.95/linux/include/linux/tcp.h
- Orig date:
Fri Feb 6 15:33:34 1998
diff -u --recursive --new-file v2.1.95/linux/include/linux/tcp.h linux/include/linux/tcp.h
@@ -65,8 +65,13 @@
TCP_CLOSE_WAIT,
TCP_LAST_ACK,
TCP_LISTEN,
- TCP_CLOSING /* now a valid state */
+ TCP_CLOSING, /* now a valid state */
+
+ TCP_MAX_STATES /* Leave at the end! */
};
+
+#define TCP_STATE_MASK 0xF
+#define TCP_ACTION_FIN 1 << 7
enum {
TCPF_ESTABLISHED = (1 << 1),
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov