Support fast rejection of duplicate records by maintaining a sliding receive window
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long | |
| private static final long | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | reportAuthenticated(long
the 48-bit DTLSPlainText.sequence_number field of an authenticated record. seq)Report that a received record with the given sequence number passed authentication checks. |
| pack-priv void | |
| pack-priv boolean | Returns: true if the record should be discarded without further processing.the 48-bit DTLSPlainText.sequence_number field of a received record. seq)Check whether a received record with the given sequence number should be rejected as a duplicate. |
| bitmap | back to summary |
|---|---|
| private long bitmap | |
| latestConfirmedSeq | back to summary |
|---|---|
| private long latestConfirmedSeq | |
| VALID_SEQ_MASK | back to summary |
|---|---|
| private static final long VALID_SEQ_MASK | |
| WINDOW_SIZE | back to summary |
|---|---|
| private static final long WINDOW_SIZE | |
| DTLSReplayWindow | back to summary |
|---|---|
| pack-priv DTLSReplayWindow() | |
| reportAuthenticated | back to summary |
|---|---|
| pack-priv boolean reportAuthenticated(long seq) Report that a received record with the given sequence number passed authentication checks.
| |
| reset | back to summary |
|---|---|
| pack-priv void reset(long seq) | |
| shouldDiscard | back to summary |
|---|---|
| pack-priv boolean shouldDiscard(long seq) Check whether a received record with the given sequence number should be rejected as a duplicate.
| |