pmtud package

This commit is contained in:
Quentin McGaw
2025-08-19 20:04:22 +00:00
parent 5306e3bab1
commit e21d798f57
14 changed files with 859 additions and 0 deletions

10
internal/pmtud/df.go Normal file
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
}