[DCCP]: Separate protocol states into general/specific This prepares a separation of DCCP protocol states into * those which have a generalisation as `stream' states and * those which are specific to DCCP and do not generalise well. For this purpose, the existing TCP_MAX_STATES is inserted as separator; everything between TCP_MAX_STATES and DCCP_MAX_STATES is private to DCCP. Signed-off-by: Gerrit Renker <gerrit@xxxxxxxxxxxxxx> --- include/linux/dccp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/include/linux/dccp.h +++ b/include/linux/dccp.h @@ -242,7 +242,9 @@ enum dccp_state { DCCP_CLOSING = TCP_CLOSING, DCCP_TIME_WAIT = TCP_TIME_WAIT, DCCP_CLOSED = TCP_CLOSE, - DCCP_MAX_STATES = TCP_MAX_STATES, + /* Everything below here is specific to DCCP only */ + DCCP_INTRINSICS = TCP_MAX_STATES, + DCCP_MAX_STATES }; #define DCCP_STATE_MASK 0xf - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html