Determination of eigenvalues in a class of waveguides of doubly connected cross section