refactor: clear distinction between actual and effective pmtu

This commit is contained in:
Matthias Radestock committed 2014-08-27 17:27:14 +01:00
1 parent b350924a63
commit f5e3450f0c
3 files changed
+16 -8

No files matched your search

+5 -1
View File
@@ -98,8 +98,12 @@ type EthernetDecoder struct {
parser *gopacket.DecodingLayerParser
}
type MsgTooBigError struct {
PMTU int // actual pmtu, i.e. what the kernel told us
}
type FrameTooBigError struct {
PMTU int
PMTU int // effective pmtu, i.e. what we tell packet senders
}
type UnknownPeersError struct {