URL
https://opencores.org/ocsvn/plasma/plasma/trunk
Subversion Repositories plasma
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 429 to Rev 430
- ↔ Reverse comparison
Rev 429 → Rev 430
/plasma/trunk/kernel/ethernet.c
249,7 → 249,7
|
|
/******************* CRC32 calculations ********************** |
* The CRC32 code is modified from Michale Barr's article in |
* The CRC32 code is modified from Michael Barr's article in |
* Embedded Systems Programming January 2000. |
* A CRC is really modulo-2 binary division. Substraction means XOR. */ |
static unsigned int Reflect(unsigned int value, int bits) |
/plasma/trunk/kernel/http.c
80,6 → 80,7
socket->funcPtr(socket); |
return; |
} |
socket->dontFlush = 2; |
bytes = IPRead(socket, buf, sizeof(buf)-1); |
if(bytes) |
{ |
/plasma/trunk/kernel/tcpip.c
1651,7 → 1651,7
rc = sprintf(buffer, format, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); |
length = strlen(ptr); |
IPWrite(socket, (unsigned char*)ptr, length); |
if(socket->dontFlush == 0 || strstr(format, "\n")) |
if(socket->dontFlush == 0 || (socket->dontFlush < 2 && strstr(format, "\n"))) |
IPWriteFlush(socket); |
return rc; |
} |