Just a guess, so I would wait for an expert to chime in – the first is the entire packet length, the second is the payload length. Again, just a shot in the dark guess.
The first LEN field is the total length of the entire IPV4 packet that has been logged. Its a 16-bit field and defines the entire packet size in bytes, including header and data. The minimum size is 20 bytes (header without data) and the maximum is 65,535 bytes.
The second LEN field is for the UDP datagram. The RFC for UDP says that the “Length is the length in octets of this user datagram including this header and the data. (This means the minimum value of the length is eight.)”