Documentation ¶
Index ¶
- func IPTablesReset()
- type FingerPrintType
- type TCPConn
- func (conn TCPConn) Close() error
- func (conn TCPConn) LocalAddr() net.Addr
- func (conn TCPConn) ReadFrom(p []byte) (n int, addr net.Addr, err error)
- func (conn TCPConn) SetDSCP(dscp int) error
- func (conn TCPConn) SetDeadline(t time.Time) error
- func (conn TCPConn) SetReadBuffer(bytes int) error
- func (conn TCPConn) SetReadDeadline(t time.Time) error
- func (conn TCPConn) SetWriteBuffer(bytes int) error
- func (conn TCPConn) SetWriteDeadline(t time.Time) error
- func (conn TCPConn) WriteTo(p []byte, addr net.Addr) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IPTablesReset ¶ added in v1.2.30
func IPTablesReset()
Types ¶
type FingerPrintType ¶ added in v1.2.31
type FingerPrintType int
const (
TypeLinux FingerPrintType = iota
)
type TCPConn ¶
type TCPConn struct {
// contains filtered or unexported fields
}
TCPConn
func (TCPConn) SetDSCP ¶ added in v1.2.25
SetDSCP sets the 6bit DSCP field in IPv4 header, or 8bit Traffic Class in IPv6 header.
func (TCPConn) SetDeadline ¶
SetDeadline implements the Conn SetDeadline method.
func (TCPConn) SetReadBuffer ¶ added in v1.2.15
SetReadBuffer sets the size of the operating system's receive buffer associated with the connection.
func (TCPConn) SetReadDeadline ¶
SetReadDeadline implements the Conn SetReadDeadline method.
func (TCPConn) SetWriteBuffer ¶ added in v1.2.15
SetWriteBuffer sets the size of the operating system's transmit buffer associated with the connection.
func (TCPConn) SetWriteDeadline ¶
SetWriteDeadline implements the Conn SetWriteDeadline method.
Click to show internal directories.
Click to hide internal directories.