MCPcopy
hub / github.com/WireGuard/wireguard-go / timersAnyAuthenticatedPacketSent

Method timersAnyAuthenticatedPacketSent

device/timers.go:156–160  ·  view source on GitHub ↗

* Should be called after any type of authenticated packet is sent -- keepalive, data, or handshake. */

()

Source from the content-addressed store, hash-verified

154
155/* Should be called after any type of authenticated packet is sent -- keepalive, data, or handshake. */
156func (peer *Peer) timersAnyAuthenticatedPacketSent() {
157 if peer.timersActive() {
158 peer.timers.sendKeepalive.Del()
159 }
160}
161
162/* Should be called after any type of authenticated packet is received -- keepalive, data, or handshake. */
163func (peer *Peer) timersAnyAuthenticatedPacketReceived() {

Callers 3

SendHandshakeResponseMethod · 0.95

Calls 2

timersActiveMethod · 0.95
DelMethod · 0.80

Tested by

no test coverage detected