mihomo/component/process/process_other.go

14 lines
357 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"
2022-04-20 01:52:51 +08:00
func findProcessName(network string, ip netip.Addr, srcPort int) (string, error) {
return "", ErrPlatformNotSupport
}
func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (int32, int32, error) {
return 0, 0, ErrPlatformNotSupport
}