]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Include file update
authorshemminger <shemminger>
Fri, 10 Mar 2006 17:26:34 +0000 (17:26 +0000)
committershemminger <shemminger>
Fri, 10 Mar 2006 17:26:34 +0000 (17:26 +0000)
ChangeLog
include/linux/socket.h [new file with mode: 0644]
include/net/tcp_states.h

index 68d2342d1c290e3911997b0b2c94e43908301603..c6cad746adff6005ac26f0ea5dd9d3f518d835fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-10  shemminger  <shemminger@osdl.org>
+
+       * Update to 2.6.16 headers
+       * Add fake version of include/linux/socket.h to fix warnings
+
 2006-01-12  Patrick McHardy <kaber@trash.net>
 
        * Handle DCCP in ipxfrm.c to allow using port numbers in the selector.
diff --git a/include/linux/socket.h b/include/linux/socket.h
new file mode 100644 (file)
index 0000000..dc979c0
--- /dev/null
@@ -0,0 +1 @@
+#include <sys/socket.h>
index b9d4176b2d156004ff4c007362e266f47a7d892c..b0b645988bd86687ac06b170f468e1239f4576f0 100644 (file)
@@ -31,4 +31,20 @@ enum {
 
 #define TCP_STATE_MASK 0xF
 
+#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) 
+};
+
 #endif /* _LINUX_TCP_STATES_H */