Documentation ¶
Index ¶
- Constants
- func GetAllNamedNetNsName() ([]string, error)
- func GetCgroupV2RootDir() (string, error)
- func GetCurrentNetNsPath() string
- func GetMountNamespaceFromPid(pid int) int64
- func GetNetworkNamespaceFromPid(pid int) int64
- func GetPidNamespaceFromPid(pid int) int64
- func GetUniqInts(items []int) []int
- func GoBytes(cchars []int8) []byte
- func GoString(cstring []int8) string
- func OutStderr(format string, a ...interface{})
- func StartSubProcess(ctx context.Context, Args []string) error
- func StartSubProcessLoader(ctx context.Context, program string, subProgramArgs []string) (int, <-chan struct{}, error)
- func UnwrapErr(err error) error
- type CloseFunc
- type NetNs
Constants ¶
View Source
const EnvIsSubProgramLoader = "PTCPDUMP-IS-SUB-PROGRAM-LOADER"
Variables ¶
This section is empty.
Functions ¶
func GetAllNamedNetNsName ¶ added in v0.25.0
func GetCgroupV2RootDir ¶
func GetCurrentNetNsPath ¶ added in v0.25.0
func GetCurrentNetNsPath() string
func GetMountNamespaceFromPid ¶ added in v0.10.0
func GetNetworkNamespaceFromPid ¶ added in v0.10.0
func GetPidNamespaceFromPid ¶ added in v0.13.0
func GetUniqInts ¶ added in v0.18.0
func StartSubProcessLoader ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.