mihomo/component/process/process_other.go

14 lines
370 B
Go
Raw Normal View History

2021-08-18 13:26:23 +08:00
//go:build !darwin && !linux && !windows && (!freebsd || !amd64)
package process
2022-04-20 01:52:51 +08:00
import "net/netip"
2023-01-14 02:23:30 +08:00
func findProcessName(network string, ip netip.Addr, srcPort int) (uint32, string, error) {
return 0, "", ErrPlatformNotSupport
}
func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (uint32, uint32, error) {
return 0, 0, ErrPlatformNotSupport
}