Sending a ping of a larger MTU works and updates the endpoint state

with the highest mtu.

Signed-off-by: Val <[email protected]>
This commit is contained in:
Val authored and salman committed 2023-07-26 19:28:22 +00:00
1 parent 69bdf2f2c5
commit 0cdb85dff0
13 files changed
+208 -60

No files matched your search

+1
View File
@@ -150,6 +150,7 @@ const nicID = 1
// maxUDPPacketSize is the maximum size of a UDP packet we copy in startPacketCopy
// when relaying UDP packets. We don't use the 'mtu' const in anticipation of
// one day making the MTU more dynamic.
// TODO: make this bigger
const maxUDPPacketSize = 1500
// Create creates and populates a new Impl.