cosmetic: move a bunch of error types to where they belong
This commit is contained in:
1 parent
c6b68dd2bd
commit
62da72e26d
5 files changed
+20
-20
No files matched your search
@@ -10,26 +10,6 @@ type UDPPacket struct {
|
||||
Sender *net.UDPAddr
|
||||
}
|
||||
|
||||
type MsgTooBigError struct {
|
||||
PMTU int // actual pmtu, i.e. what the kernel told us
|
||||
}
|
||||
|
||||
type FrameTooBigError struct {
|
||||
EPMTU int // effective pmtu, i.e. what we tell packet senders
|
||||
}
|
||||
|
||||
type UnknownPeersError struct {
|
||||
}
|
||||
|
||||
type NameCollisionError struct {
|
||||
Name PeerName
|
||||
}
|
||||
|
||||
type PacketDecodingError struct {
|
||||
Fatal bool
|
||||
Desc string
|
||||
}
|
||||
|
||||
type LocalAddress struct {
|
||||
ip net.IP
|
||||
network *net.IPNet
|
||||
|
||||
Reference in new issue
Block a user