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