rewritten packet search