config

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cidrname = "192.168.1.0/24"

路由网段

View Source
var HardwardIp = ""

物理网卡名,ip 作为连通外网的网关使用,不填默认自动获取

View Source
var HardwardName = ""
View Source
var LocalAddres = tcpip.Address(net.ParseIP("192.168.1.1").To4())

localip

View Source
var LocalPort uint16 = 9000
View Source
var Mac = flag.String("mac", "aa:00:01:01:01:01", "mac address to use in tap device")

mac地址

View Source
var NicName = "tap"

网卡名

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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