function Packet_GetPacketLength (msg, packet)
  require 'LOG'
  local length = 0

  if (packet ~= nil) then
    length = GetPacketLength(packet)
    EZINFO('Packet Length' .. length)
  end
end