process

package
v0.0.0-...-0e93635 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Overview

referenced from https://github.com/MetaCubeX/mihomo/blob/Alpha/component/process/

referenced from https://github.com/MetaCubeX/mihomo/blob/Alpha/component/process/

Index

Constants

View Source
const (
	TCP = "tcp"
	UDP = "udp"
)
View Source
const (
	SOCK_DIAG_BY_FAMILY = 20
)

Variables

View Source
var (
	ErrInvalidNetwork     = errors.New("invalid network")
	ErrPlatformNotSupport = errors.New("not support on this platform")
	ErrNotFound           = errors.New("process not found")
)

Functions

func FindProcessName

func FindProcessName(network string, srcIP netip.Addr, srcPort int) (uint32, uint32, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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