checking for the packet characteristics