Documentation
¶
Index ¶
- func ConnectServer(config config.Config) net.Conn
- func ExecCmd(c string, args ...string) string
- func GetDstKey(packet []byte) string
- func GetIPv4Dst(packet []byte) net.IP
- func GetIPv4Src(packet []byte) net.IP
- func GetIPv6Dst(packet []byte) net.IP
- func GetIPv6Src(packet []byte) net.IP
- func GetInterface() (name string)
- func GetLocalGatewayOnLinux(ipv4 bool) string
- func GetLocalGatewayOnMac(ipv4 bool) string
- func GetSrcKey(packet []byte) string
- func IsIPv4(packet []byte) bool
- func IsIPv6(packet []byte) bool
- func LookupIP(domain string) net.IP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIPv4Dst ¶ added in v1.5.7
func GetIPv4Src ¶ added in v1.5.7
func GetIPv6Dst ¶ added in v1.5.7
func GetIPv6Src ¶ added in v1.5.7
func GetInterface ¶ added in v1.5.7
func GetInterface() (name string)
func GetLocalGatewayOnLinux ¶ added in v1.5.7
func GetLocalGatewayOnMac ¶ added in v1.5.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.