Home
last modified time | relevance | path

Searched refs:RandomPort (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpDispatcher.c240 UINT16 *RandomPort; in TcpBind() local
245 RandomPort = &mTcp4RandomPort; in TcpBind()
249 RandomPort = &mTcp6RandomPort; in TcpBind()
266 if (TCP_PORT_USER_RESERVED == *RandomPort) { in TcpBind()
267 *RandomPort = TCP_PORT_KNOWN; in TcpBind()
270 (*RandomPort)++; in TcpBind()
272 while (TcpFindTcbByPeer (&Local, *RandomPort, IpVersion)) { in TcpBind()
273 (*RandomPort)++; in TcpBind()
275 if (*RandomPort <= TCP_PORT_KNOWN) { in TcpBind()
284 *RandomPort = TCP_PORT_KNOWN + 1; in TcpBind()
[all …]