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
|
|
|
|
2023-01-14 02:23:30 +08:00
|
|
|
func findProcessName(network string, ip netip.Addr, srcPort int) (uint32, string, error) {
|
|
|
|
return 0, "", ErrPlatformNotSupport
|
2020-12-17 22:17:27 +08:00
|
|
|
}
|
2022-04-22 16:51:01 +08:00
|
|
|
|
2022-11-12 20:43:48 +08:00
|
|
|
func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (uint32, uint32, error) {
|
2022-04-22 16:51:01 +08:00
|
|
|
return 0, 0, ErrPlatformNotSupport
|
|
|
|
}
|