cosmetic: move EthernetDecoder type from types.go to ethernet_decoder.go

This commit is contained in:
Matthias Radestock committed 2015-01-20 20:35:36 +00:00
1 parent f5dc851ebe
commit 1bc27c303e
2 files changed
+7 -8

No files matched your search

-8
View File
@@ -1,7 +1,6 @@
package router
import (
"code.google.com/p/gopacket"
"code.google.com/p/gopacket/layers"
"net"
"sync"
@@ -89,13 +88,6 @@ type UDPPacket struct {
Sender *net.UDPAddr
}
type EthernetDecoder struct {
eth layers.Ethernet
ip layers.IPv4
decoded []gopacket.LayerType
parser *gopacket.DecodingLayerParser
}
type MsgTooBigError struct {
PMTU int // actual pmtu, i.e. what the kernel told us
}