Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketConn ¶
type PacketConn struct {
// contains filtered or unexported fields
}
func New ¶
func New(rwc io.ReadWriteCloser, bufsize int) (*PacketConn, error)
func (*PacketConn) Close ¶
func (c *PacketConn) Close() error
func (*PacketConn) ReadPacketData ¶
func (c *PacketConn) ReadPacketData() ([]byte, gopacket.CaptureInfo, error)
func (*PacketConn) WritePacketData ¶
func (c *PacketConn) WritePacketData(data []byte) error
Click to show internal directories.
Click to hide internal directories.