package replaydetector
Import Path
github.com/pion/transport/v2/replaydetector (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
fixedbig.go
Package replaydetector provides packet replay detection algorithm.
Package-Level Type Names (only one)
Package-Level Functions (total 2)
New creates ReplayDetector.
Created ReplayDetector doesn't allow wrapping.
It can handle monotonically increasing sequence number up to
full 64bit number. It is suitable for DTLS replay protection.
WithWrap creates ReplayDetector allowing sequence wrapping.
This is suitable for short bit width counter like SRTP and SRTCP.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |