Documentation ¶
Overview ¶
Package phys implements a physical packet interface that uses libpcap to send and receive packets on a physical network interface.
Package phys implements a reader/writer object for reading and writing IPX packets from a TAP device.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Framer802_2 = framer802_2{} Framer802_3Raw = framer802_3Raw{} FramerSNAP = framerSNAP{} FramerEthernetII = framerEthernetII{} )
Functions ¶
Types ¶
type Framer ¶
type Framer interface {
Frame(dest net.HardwareAddr, packet []byte) ([]gopacket.SerializableLayer, error)
}
type PcapPhys ¶
type PcapPhys struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.