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
+4
View File
@@ -62,6 +62,10 @@ func (n *NetLink) LinkSetDown(link Link) (err error) {
return netlink.LinkSetDown(linkToNetlinkLink(&link))
}
func (n *NetLink) LinkSetMTU(link Link, mtu int) error {
return netlink.LinkSetMTU(linkToNetlinkLink(&link), mtu)
}
type netlinkLinkImpl struct {
attrs *netlink.LinkAttrs
linkType string