arp.go 262 B

123456789101112131415
  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, state State, addrStates HardwareAddrStates) error
  10. Count(count uint)
  11. }
  12. )