Check incoming packet. TO-DO: Add macros for an access to the records fields.