This adds new helper functions to check if faster restart is turned on. Signed-off-by: Ian McDonald <ian.mcdonald@xxxxxxxxxxx> --- diff --git a/net/dccp/ccids/ccid3.h b/net/dccp/ccids/ccid3.h index c77c8fb..7edbf70 100644 --- a/net/dccp/ccids/ccid3.h +++ b/net/dccp/ccids/ccid3.h @@ -182,4 +182,11 @@ static inline struct ccid3_hc_rx_sock *ccid3_hc_rx_sk(const struct sock *sk) return ccid3_rx_priv; } +static inline bool ccid3_hc_tx_faster_restart_on( + const struct ccid3_hc_tx_sock *hctx) +{ + return ((hctx->ccid3hctx_extensions & TFRC_EXT_FASTER_RESTART) + == TFRC_EXT_FASTER_RESTART); +} + #endif /* _DCCP_CCID3_H_ */ - 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