udwSys

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const MaxMaxFileNum = 1048576

Variables

This section is empty.

Functions

func GetBinPathList

func GetBinPathList() []string

func GetErrPlatformNotSupport

func GetErrPlatformNotSupport() error

func IKEUserCount

func IKEUserCount() (out int)

func IsIpForwardOn

func IsIpForwardOn() bool

func IsNotSupport

func IsNotSupport() bool

func MustIsRoot

func MustIsRoot() bool

func MustIsRootOnCmd

func MustIsRootOnCmd()

func MustRoot

func MustRoot()

func MustSetCurrentMaxFileNum

func MustSetCurrentMaxFileNum(limit uint64)

func MustSetCurrentMaxFileNumToMax

func MustSetCurrentMaxFileNumToMax()

func MustSetIptableRule

func MustSetIptableRule(rule IptableRule)

func NetworkConnection

func NetworkConnection() (connectionCount int)

func RecoverPath

func RecoverPath()

func SetCurrentMaxFileNum

func SetCurrentMaxFileNum(limit uint64) (err error)

func SetIpForwardOn

func SetIpForwardOn()

func UsagePreInstall

func UsagePreInstall()

Types

type IptableRule

type IptableRule struct {
	Table string
	Rule  string
}

func MustGetIptableRuleList

func MustGetIptableRuleList() []IptableRule

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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