path: root/net/ipv4/datagram.c
diff options
authorArnaldo Carvalho de Melo <>2005-08-09 20:08:28 -0700
committerDavid S. Miller <>2005-08-29 15:41:54 -0700
commitc752f0739f09b803aed191c4765a3b6650a08653 (patch)
tree33dcc7acf66ec51952b76276c758e38811f4f708 /net/ipv4/datagram.c
parentf3f05f7046e7c85b04af390d95a82a27160dd5d0 (diff)
[TCP]: Move the tcp sock states to net/tcp_states.h
Lots of places just needs the states, not even linux/tcp.h, where this enum was, needs it. This speeds up development of the refactorings as less sources are rebuilt when things get moved from net/tcp.h. Signed-off-by: Arnaldo Carvalho de Melo <> Signed-off-by: David S. Miller <>
Diffstat (limited to 'net/ipv4/datagram.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/datagram.c b/net/ipv4/datagram.c
index b1db561f2542..3fd49f4282ac 100644
--- a/net/ipv4/datagram.c
+++ b/net/ipv4/datagram.c
@@ -17,8 +17,8 @@
#include <linux/ip.h>
#include <linux/in.h>
#include <net/sock.h>
-#include <net/tcp.h>
#include <net/route.h>
+#include <net/tcp_states.h>
int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)