extracted packet util