arp.go 232 B

1234567891011121314
  1. package neighbors
  2. import (
  3. "context"
  4. )
  5. type (
  6. Interfaces map[string]bool
  7. HardwareAddrStates map[string]State
  8. ARP interface {
  9. Present(ctx context.Context, ifs Interfaces, addrs HardwareAddrStates) (bool, error)
  10. }
  11. )