Use C values for constants
Check datalink type before decoding packets.