process_other.go 370 B

12345678910111213
  1. //go:build !darwin && !linux && !windows && (!freebsd || !amd64)
  2. package process
  3. import "net/netip"
  4. func findProcessName(network string, ip netip.Addr, srcPort int) (uint32, string, error) {
  5. return 0, "", ErrPlatformNotSupport
  6. }
  7. func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (uint32, uint32, error) {
  8. return 0, 0, ErrPlatformNotSupport
  9. }