diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-08-09 23:08:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:41:54 -0400 |
commit | c752f0739f09b803aed191c4765a3b6650a08653 (patch) | |
tree | 33dcc7acf66ec51952b76276c758e38811f4f708 /net/core | |
parent | f3f05f7046e7c85b04af390d95a82a27160dd5d0 (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 <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/datagram.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/datagram.c b/net/core/datagram.c index fcee054b6f75..da9bf71421a7 100644 --- a/net/core/datagram.c +++ b/net/core/datagram.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <linux/errno.h> | 43 | #include <linux/errno.h> |
44 | #include <linux/sched.h> | 44 | #include <linux/sched.h> |
45 | #include <linux/inet.h> | 45 | #include <linux/inet.h> |
46 | #include <linux/tcp.h> | ||
47 | #include <linux/netdevice.h> | 46 | #include <linux/netdevice.h> |
48 | #include <linux/rtnetlink.h> | 47 | #include <linux/rtnetlink.h> |
49 | #include <linux/poll.h> | 48 | #include <linux/poll.h> |
@@ -51,9 +50,10 @@ | |||
51 | 50 | ||
52 | #include <net/protocol.h> | 51 | #include <net/protocol.h> |
53 | #include <linux/skbuff.h> | 52 | #include <linux/skbuff.h> |
54 | #include <net/sock.h> | ||
55 | #include <net/checksum.h> | ||
56 | 53 | ||
54 | #include <net/checksum.h> | ||
55 | #include <net/sock.h> | ||
56 | #include <net/tcp_states.h> | ||
57 | 57 | ||
58 | /* | 58 | /* |
59 | * Is a socket 'connection oriented' ? | 59 | * Is a socket 'connection oriented' ? |