Documentation
¶
Index ¶
- func IPTablesReset()
- type TCPConn
- func (conn TCPConn) Close() error
- func (conn TCPConn) LocalAddr() net.Addr
- func (conn TCPConn) ReadFrom(p []byte) (int, net.Addr, 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 ¶
func IPTablesReset()
Types ¶
type TCPConn ¶
type TCPConn struct {
// contains filtered or unexported fields
}
TCPConn, a wrapper for tcpconn for gc purpose
func (TCPConn) SetDSCP ¶
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 ¶
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 ¶
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.