Documentation ¶
Index ¶
Constants ¶
View Source
const (
PPPTypeIPX layers.PPPType = 0x002b
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession(channel io.ReadWriteCloser, node network.Node) *Session
func (*Session) Run ¶
Run implements the main goroutine that establishes the PPP connection, does negotiation and then runs the main loop that receives PPP frames and forwards the encapsulated IPX frames upstream. When it returns, the session has terminated (either normally or due to failure to negotiate).
func (*Session) Terminate ¶
Terminate initiates the link shutdown process by sending a Terminate-Request to the client and then calling Close().
func (*Session) Terminated ¶
Directories ¶
Path | Synopsis |
---|---|
Package lcp contains a gopacket Layer that implements the PPP Link Control Protocol (LCP).
|
Package lcp contains a gopacket Layer that implements the PPP Link Control Protocol (LCP). |
Package pptp contains an implementation of a PPTP VPN server that is specifically intended to allow IPX protocol games to be played from old Windows 9x machines.
|
Package pptp contains an implementation of a PPTP VPN server that is specifically intended to allow IPX protocol games to be played from old Windows 9x machines. |
Click to show internal directories.
Click to hide internal directories.