code: func (t *IPsTable) ids(c context.Context) map[common.IPv4]int64 {
  	ips := make(map[common.IPv4]int64, len(t.current))
  	for _, ip := range t.current {
  		ips[ip.IPv4] = ip.Id
  	}
  	return ips
  }
docs: // ids returns a map of IP addresses to IDs.