pppoe

package
v0.0.0-...-e7d3572 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hijack

func Hijack(device string, callback func(*PAPCredentials)) (err error)

Types

type PAPCredentials

type PAPCredentials struct {
	PeerID     string           `json:"peer-id"`
	Password   string           `json:"password"`
	MACAddress net.HardwareAddr `json:"mac-address"`
	Timestamp  time.Time        `json:"timestamp"`
}

func (*PAPCredentials) String

func (c *PAPCredentials) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL