Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultInterface is default TAP device interface name DefaultInterface = "tap0" // DefaultMtu is default interface device mtu DefaultMtu = 1500 // DefautPort is default port value for remote and local host DefautPort = 9669 // DefaultMask is default ip adress mask DefaultMask = 24 // Sleep time after udp socket error SleepErrTime = 100 )
DefautPort is default port value for remote and local host
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arp ¶
type Arp struct {
// contains filtered or unexported fields
}
Arp is tunnel arp table receiver which hold tunnels arp map
type Params ¶
type Params struct { Intrface string // interface name Mtu int // interface mtu Laddr string // interface local address Lmask int // interface local address mask Raddr string // remote host address Rport int // remote host port Lport int // this host port ShowHelpF bool // show help flag }
Params is application parameters
Click to show internal directories.
Click to hide internal directories.