From the AC impedance triangle, the input or output impedance of a two terminal network can be determined by measuring the small signal AC currents and voltages. For the input, the voltage is measured across the input terminals and the current measured by inserting the meter in series with the signal generator.
http://www.mitedu.freeserve.co.uk/Theory/inzoz.htm