diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/sctp/command.h | 1 | ||||
| -rw-r--r-- | include/net/sctp/constants.h | 1 | ||||
| -rw-r--r-- | include/net/sctp/sctp.h | 1 | ||||
| -rw-r--r-- | include/net/sctp/structs.h | 5 |
4 files changed, 6 insertions, 2 deletions
diff --git a/include/net/sctp/command.h b/include/net/sctp/command.h index b8733364557f..c1f797673571 100644 --- a/include/net/sctp/command.h +++ b/include/net/sctp/command.h | |||
| @@ -103,6 +103,7 @@ typedef enum { | |||
| 103 | SCTP_CMD_ASSOC_CHANGE, /* generate and send assoc_change event */ | 103 | SCTP_CMD_ASSOC_CHANGE, /* generate and send assoc_change event */ |
| 104 | SCTP_CMD_ADAPTATION_IND, /* generate and send adaptation event */ | 104 | SCTP_CMD_ADAPTATION_IND, /* generate and send adaptation event */ |
| 105 | SCTP_CMD_ASSOC_SHKEY, /* generate the association shared keys */ | 105 | SCTP_CMD_ASSOC_SHKEY, /* generate the association shared keys */ |
| 106 | SCTP_CMD_T1_RETRAN, /* Mark for retransmission after T1 timeout */ | ||
| 106 | SCTP_CMD_LAST | 107 | SCTP_CMD_LAST |
| 107 | } sctp_verb_t; | 108 | } sctp_verb_t; |
| 108 | 109 | ||
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index da8354e8e33c..73fbdf6a24f8 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h | |||
| @@ -407,6 +407,7 @@ typedef enum { | |||
| 407 | SCTP_RTXR_T3_RTX, | 407 | SCTP_RTXR_T3_RTX, |
| 408 | SCTP_RTXR_FAST_RTX, | 408 | SCTP_RTXR_FAST_RTX, |
| 409 | SCTP_RTXR_PMTUD, | 409 | SCTP_RTXR_PMTUD, |
| 410 | SCTP_RTXR_T1_RTX, | ||
| 410 | } sctp_retransmit_reason_t; | 411 | } sctp_retransmit_reason_t; |
| 411 | 412 | ||
| 412 | /* Reasons to lower cwnd. */ | 413 | /* Reasons to lower cwnd. */ |
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 93eb708609e7..70827305f501 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
| @@ -267,6 +267,7 @@ enum | |||
| 267 | SCTP_MIB_T5_SHUTDOWN_GUARD_EXPIREDS, | 267 | SCTP_MIB_T5_SHUTDOWN_GUARD_EXPIREDS, |
| 268 | SCTP_MIB_DELAY_SACK_EXPIREDS, | 268 | SCTP_MIB_DELAY_SACK_EXPIREDS, |
| 269 | SCTP_MIB_AUTOCLOSE_EXPIREDS, | 269 | SCTP_MIB_AUTOCLOSE_EXPIREDS, |
| 270 | SCTP_MIB_T1_RETRANSMITS, | ||
| 270 | SCTP_MIB_T3_RETRANSMITS, | 271 | SCTP_MIB_T3_RETRANSMITS, |
| 271 | SCTP_MIB_PMTUD_RETRANSMITS, | 272 | SCTP_MIB_PMTUD_RETRANSMITS, |
| 272 | SCTP_MIB_FAST_RETRANSMITS, | 273 | SCTP_MIB_FAST_RETRANSMITS, |
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index ef892e00c833..482c2aab3d67 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
| @@ -873,10 +873,11 @@ struct sctp_transport { | |||
| 873 | * address list derived from the INIT or INIT ACK chunk, a | 873 | * address list derived from the INIT or INIT ACK chunk, a |
| 874 | * number of data elements needs to be maintained including: | 874 | * number of data elements needs to be maintained including: |
| 875 | */ | 875 | */ |
| 876 | __u32 rtt; /* This is the most recent RTT. */ | ||
| 877 | |||
| 878 | /* RTO : The current retransmission timeout value. */ | 876 | /* RTO : The current retransmission timeout value. */ |
| 879 | unsigned long rto; | 877 | unsigned long rto; |
| 878 | unsigned long last_rto; | ||
| 879 | |||
| 880 | __u32 rtt; /* This is the most recent RTT. */ | ||
| 880 | 881 | ||
| 881 | /* RTTVAR : The current RTT variation. */ | 882 | /* RTTVAR : The current RTT variation. */ |
| 882 | __u32 rttvar; | 883 | __u32 rttvar; |
