filteredConn

package
v0.0.0-...-530f19f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilteredConn

type FilteredConn struct {
	TxDataChannel chan interfaces.TrafficWithChannelTag
	RxChannel     chan interfaces.TrafficWithChannelTag
	// contains filtered or unexported fields
}

func NewFilteredConn

func NewFilteredConn(conn net.Conn,
	TxDataChannel chan interfaces.TrafficWithChannelTag,
	RxChannel chan interfaces.TrafficWithChannelTag,
	ctx context.Context) *FilteredConn

func (*FilteredConn) Close

func (fc *FilteredConn) Close() error

func (*FilteredConn) GetPacketStatus

func (fc *FilteredConn) GetPacketStatus() (uint64, uint64)

func (*FilteredConn) LocalAddr

func (fc *FilteredConn) LocalAddr() net.Addr

func (*FilteredConn) Read

func (fc *FilteredConn) Read(p []byte) (int, error)

func (*FilteredConn) RemoteAddr

func (fc *FilteredConn) RemoteAddr() net.Addr

func (*FilteredConn) SetDeadline

func (fc *FilteredConn) SetDeadline(t time.Time) error

func (*FilteredConn) SetReadDeadline

func (fc *FilteredConn) SetReadDeadline(t time.Time) error

func (*FilteredConn) SetWriteDeadline

func (fc *FilteredConn) SetWriteDeadline(t time.Time) error

func (*FilteredConn) Write

func (fc *FilteredConn) Write(p []byte) (int, error)

func (*FilteredConn) WriteC

func (fc *FilteredConn) WriteC()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL