[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>
This commit is contained in:
committed by
David S. Miller
parent
f3f05f7046
commit
c752f0739f
@ -47,10 +47,10 @@
|
||||
#ifndef __sctp_constants_h__
|
||||
#define __sctp_constants_h__
|
||||
|
||||
#include <linux/tcp.h> /* For TCP states used in sctp_sock_state_t */
|
||||
#include <linux/sctp.h>
|
||||
#include <linux/ipv6.h> /* For ipv6hdr. */
|
||||
#include <net/sctp/user.h>
|
||||
#include <net/tcp_states.h> /* For TCP states used in sctp_sock_state_t */
|
||||
|
||||
/* Value used for stream negotiation. */
|
||||
enum { SCTP_MAX_STREAM = 0xffff };
|
||||
|
Reference in New Issue
Block a user