github.com/pion/dtls/v2@v2.2.12/packet.go (about)

     1  // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
     2  // SPDX-License-Identifier: MIT
     3  
     4  package dtls
     5  
     6  import "github.com/pion/dtls/v2/pkg/protocol/recordlayer"
     7  
     8  type packet struct {
     9  	record                   *recordlayer.RecordLayer
    10  	shouldEncrypt            bool
    11  	resetLocalSequenceNumber bool
    12  }