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.
Click to show internal directories.
Click to hide internal directories.