Documentation ¶
Index ¶
Constants ¶
View Source
const ( GO_ETH_P_ALL = (sys.ETH_P_ALL<<8)&0xff00 | sys.ETH_P_ALL>>8 IFA_MAX = 20 )
Variables ¶
Functions ¶
func IPBytesToString ¶
func MacBytesToString ¶
Types ¶
type ARPLayer ¶
type ARPLayer struct {
ARPHdr ARPHeader
}
func (*ARPLayer) NextLayer ¶
func (il *ARPLayer) NextLayer() PacketLayer
type EthLayer ¶
type EthLayer struct { EthHdr EthHeader // contains filtered or unexported fields }
func (*EthLayer) NextLayer ¶
func (el *EthLayer) NextLayer() PacketLayer
type IPLayer ¶
type IPLayer struct { IPHdr IPHeader // contains filtered or unexported fields }
func (*IPLayer) NextLayer ¶
func (il *IPLayer) NextLayer() PacketLayer
type PacketLayer ¶
Click to show internal directories.
Click to hide internal directories.