arp.go 272 B

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