Ethernet UDP source port

How to determine the UDP source port, it seems it is randomly.