Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DSockImpl.c86 TCP_RSV_DATA *TcpRsvData; in SockTcpDataToRcv() local
93 TcpRsvData = (TCP_RSV_DATA *) RcvBufEntry->ProtoData; in SockTcpDataToRcv()
95 *IsUrg = (BOOLEAN) ((TcpRsvData->UrgLen > 0) ? TRUE : FALSE); in SockTcpDataToRcv()
97 if (*IsUrg && TcpRsvData->UrgLen < RcvBufEntry->TotalSize) { in SockTcpDataToRcv()
99 DataLen = MIN (TcpRsvData->UrgLen, BufLen); in SockTcpDataToRcv()
101 if (DataLen < TcpRsvData->UrgLen) { in SockTcpDataToRcv()
102 TcpRsvData->UrgLen = TcpRsvData->UrgLen - DataLen; in SockTcpDataToRcv()
104 TcpRsvData->UrgLen = 0; in SockTcpDataToRcv()
117 TcpRsvData = (TCP_RSV_DATA *) RcvBufEntry->ProtoData; in SockTcpDataToRcv()
119 Urg = (BOOLEAN) ((TcpRsvData->UrgLen > 0) ? TRUE : FALSE); in SockTcpDataToRcv()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DSockImpl.c110 TCP_RSV_DATA *TcpRsvData; in SockTcpDataToRcv() local
121 TcpRsvData = (TCP_RSV_DATA *) RcvBufEntry->ProtoData; in SockTcpDataToRcv()
127 *IsUrg = (BOOLEAN) ((TcpRsvData->UrgLen > 0) ? TRUE : FALSE); in SockTcpDataToRcv()
129 if (*IsUrg && (TcpRsvData->UrgLen < RcvBufEntry->TotalSize)) { in SockTcpDataToRcv()
131 DataLen = MIN (TcpRsvData->UrgLen, BufLen); in SockTcpDataToRcv()
133 if (DataLen < TcpRsvData->UrgLen) { in SockTcpDataToRcv()
134 TcpRsvData->UrgLen = TcpRsvData->UrgLen - DataLen; in SockTcpDataToRcv()
136 TcpRsvData->UrgLen = 0; in SockTcpDataToRcv()
153 TcpRsvData = (TCP_RSV_DATA *) RcvBufEntry->ProtoData; in SockTcpDataToRcv()
155 Urg = (BOOLEAN) ((TcpRsvData->UrgLen > 0) ? TRUE : FALSE); in SockTcpDataToRcv()
[all …]