Documentation ¶
Index ¶
Constants ¶
View Source
const ( IP6T_SO_ORIGINAL_DST = 80 SO_ORIGINAL_DST = 80 )
Variables ¶
This section is empty.
Functions ¶
func NewInboundConnSession ¶
func NewInboundPacketSession ¶
func NewInboundPacketSession(ctx context.Context, config *conf.GlobalConfig) (protocol.PacketSession, error)
Types ¶
type NATInboundPacketSession ¶
type NATInboundPacketSession struct {
// contains filtered or unexported fields
}
func (*NATInboundPacketSession) Close ¶
func (i *NATInboundPacketSession) Close() error
func (*NATInboundPacketSession) ReadPacket ¶
func (i *NATInboundPacketSession) ReadPacket() (*protocol.Request, []byte, error)
func (*NATInboundPacketSession) WritePacket ¶
type TProxyInboundConnSession ¶
type TProxyInboundConnSession struct {
// contains filtered or unexported fields
}
func (*TProxyInboundConnSession) Close ¶
func (i *TProxyInboundConnSession) Close() error
func (*TProxyInboundConnSession) GetRequest ¶
func (i *TProxyInboundConnSession) GetRequest() *protocol.Request
Click to show internal directories.
Click to hide internal directories.