feat(vpn): path MTU discovery to find the best MTU (#2586)

This commit is contained in:
Quentin McGaw
2026-01-21 18:02:23 +01:00
committed by GitHub
parent fba60af772
commit de38d759a4
20 changed files with 982 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build !linux && !windows
package pmtud
// setDontFragment for platforms other than Linux and Windows
// is not implemented, so we just return assuming the don't
// fragment flag is set on IP packets.
func setDontFragment(fd uintptr) (err error) {
return nil
}