2021-08-18 13:26:23 +08:00
|
|
|
//go:build !darwin && !linux && !windows && (!freebsd || !amd64)
|
2020-12-17 22:17:27 +08:00
|
|
|
|
|
|
|
package process
|
|
|
|
|
2022-04-20 01:52:51 +08:00
|
|
|
import "net/netip"
|
2020-12-17 22:17:27 +08:00
|
|
|
|
2022-05-19 20:43:41 +08:00
|
|
|
func findProcessName(network string, ip netip.Addr, srcPort int) (int32, string, error) {
|
|
|
|
return -1, "", ErrPlatformNotSupport
|
2020-12-17 22:17:27 +08:00
|
|
|
}
|
2022-04-22 16:51:01 +08:00
|
|
|
|
|
|
|
func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (int32, int32, error) {
|
|
|
|
return 0, 0, ErrPlatformNotSupport
|
|
|
|
}
|