decodes pointer fields
prepares ip lookup