Performance Analysis of TCAMs in Switches