We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6609e2 commit c31ad3fCopy full SHA for c31ad3f
talpid-wireguard/src/lib.rs
@@ -1003,6 +1003,11 @@ mod mtu_detection {
1003
1004
use super::Error;
1005
1006
+ /// Verify that the current MTU doesn't cause dropped packets, otherwise lower it to the
1007
+ /// largest value which doesn't.
1008
+ ///
1009
+ /// Note: This does not take fragmentation into account, so it should only be used as an extra
1010
+ /// safety measure after the normal MTU calculation using header sizes and safety margins.
1011
pub async fn automatic_mtu_correction(
1012
gateway: std::net::Ipv4Addr,
1013
iface_name_clone: String,
0 commit comments