PARALLEL ALGORITHMS FOR IP SWITCHES