// freeze prevents any more packets from being delivered to the endpoint.
freeze prevents any more packets from being delivered to the endpoint.
// freeze prevents any more packets from being delivered to the endpoint .
func (e *endpoint) freeze() {
	e.mu.Lock()
	e.frozen = true
	e.mu.Unlock()
}
func ( e * endpoint ) freeze ( ) { e . mu . Lock ( ) e . frozen = true e . mu . Unlock ( ) }
freeze prevents any more packets from being delivered to the endpoint.
freeze prevents any more packets from being delivered to the endpoint .