Text this: Joint design of tuple space and bitmap for two-dimensional packet classification