Documentation ¶
Index ¶
Constants ¶
View Source
const ( IP6T_SO_ORIGINAL_DST = 80 SO_ORIGINAL_DST = 80 )
Variables ¶
This section is empty.
Functions ¶
func NewInboundConnSession ¶
func NewInboundConnSession(conn net.Conn) (protocol.ConnSession, error)
func NewInboundPacketSession ¶
func NewInboundPacketSession(config *conf.GlobalConfig) (protocol.PacketSession, error)
Types ¶
type NATInboundConnSession ¶
type NATInboundConnSession struct { protocol.ConnSession // contains filtered or unexported fields }
func (*NATInboundConnSession) Close ¶
func (i *NATInboundConnSession) Close() error
func (*NATInboundConnSession) GetRequest ¶
func (i *NATInboundConnSession) GetRequest() *protocol.Request
type NATInboundPacketSession ¶
type NATInboundPacketSession struct { protocol.PacketSession // 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 ¶
Click to show internal directories.
Click to hide internal directories.