Don't use rip_dest (a 32-bit field) to extract 16-bit.  Instead,
explicitly use 16-bit alignment to access the packet length field.