Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct {
Id string
Data []byte
Timestamp time.Time
CaptureLength uint16
DataLength uint16
SrcIP net.IP
DstIP net.IP
}
func NewPacketFromProto ¶
func UnserializePacket ¶
type PacketSlice ¶
type PacketSlice []*Packet
func (PacketSlice) Len ¶
func (p PacketSlice) Len() int
func (PacketSlice) Less ¶
func (p PacketSlice) Less(i, j int) bool
func (PacketSlice) Swap ¶
func (p PacketSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.