Skip to content
Commit b9932774 authored by Patrik Flykt's avatar Patrik Flykt Committed by Anas Nashif
Browse files

net: Assign local UDP port number



Assign local UDP port number if not explicitely set by the caller. Use
the timer as a source of uniqueness as there is no random function
available.

If the local UDP port number has been set, verify that it is available
and not already assigned.

Change-Id: I18baac0cbec300cc2a5b7a62dff830d9fafcf2c9
Signed-off-by: default avatarPatrik Flykt <patrik.flykt@linux.intel.com>
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 586f3adf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment