2023-08-11 08:34:51 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
|
|
//go:build (!linux && !darwin) || android || ios
|
|
|
|
|
|
|
|
package magicsock
|
|
|
|
|
2024-01-20 01:04:22 +00:00
|
|
|
import "tailscale.com/disco"
|
|
|
|
|
2023-09-18 19:21:46 +00:00
|
|
|
func (c *Conn) DontFragSetting() (bool, error) {
|
|
|
|
return false, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Conn) ShouldPMTUD() bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Conn) PeerMTUEnabled() bool {
|
2023-08-11 08:34:51 +00:00
|
|
|
return false
|
|
|
|
}
|
2023-09-18 19:21:46 +00:00
|
|
|
|
|
|
|
func (c *Conn) UpdatePMTUD() {
|
|
|
|
}
|
2024-01-20 01:04:22 +00:00
|
|
|
|
|
|
|
func pmtuShouldLogDiscoTxErr(m disco.Message, err error) bool {
|
|
|
|
return true
|
|
|
|
}
|