summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/checksum/ipv4.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2010-01-05 09:29:31 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2010-01-05 09:29:31 +0000
commit830ef0bb402a48fd003e6837beb368199a2e5f22 (patch)
tree67eb021342aaee02270102beb26415a87671e6b2 /src/VBox/Runtime/common/checksum/ipv4.cpp
parent302fd1e82c61fc7dde406b4d2d29b7779555f261 (diff)
downloadVirtualBox-svn-830ef0bb402a48fd003e6837beb368199a2e5f22.tar.gz
IPRT,DoxyFile.Core: Mopped up the errors in the IPRT doxygen run.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@25645 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/common/checksum/ipv4.cpp')
-rw-r--r--src/VBox/Runtime/common/checksum/ipv4.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/VBox/Runtime/common/checksum/ipv4.cpp b/src/VBox/Runtime/common/checksum/ipv4.cpp
index 97c11de1635..36290eefb4e 100644
--- a/src/VBox/Runtime/common/checksum/ipv4.cpp
+++ b/src/VBox/Runtime/common/checksum/ipv4.cpp
@@ -227,9 +227,9 @@ RT_EXPORT_SYMBOL(RTNetIPv4AddUDPChecksum);
* Adds the checksum of the TCP header to the intermediate checksum value [inlined].
*
* @returns 32-bit intermediary checksum value.
- * @param pUdpHdr Pointer to the TCP header to checksum, network endian (big).
- * Assums the caller has already validate it and made sure the
- * entire header is present.
+ * @param pTcpHdr Pointer to the TCP header to checksum, network
+ * endian (big). Assums the caller has already validate
+ * it and made sure the entire header is present.
* @param u32Sum The 32-bit intermediate checksum value.
*/
DECLINLINE(uint32_t) rtNetIPv4AddTCPChecksum(PCRTNETTCP pTcpHdr, uint32_t u32Sum)
@@ -273,9 +273,9 @@ DECLINLINE(uint32_t) rtNetIPv4AddTCPChecksum(PCRTNETTCP pTcpHdr, uint32_t u32Sum
* Adds the checksum of the TCP header to the intermediate checksum value.
*
* @returns 32-bit intermediary checksum value.
- * @param pUdpHdr Pointer to the TCP header to checksum, network endian (big).
- * Assums the caller has already validate it and made sure the
- * entire header is present.
+ * @param pTcpHdr Pointer to the TCP header to checksum, network
+ * endian (big). Assums the caller has already validate
+ * it and made sure the entire header is present.
* @param u32Sum The 32-bit intermediate checksum value.
*/
RTDECL(uint32_t) RTNetIPv4AddTCPChecksum(PCRTNETTCP pTcpHdr, uint32_t u32Sum)
@@ -289,7 +289,8 @@ RT_EXPORT_SYMBOL(RTNetIPv4AddTCPChecksum);
* Adds the checksum of the specified data segment to the intermediate checksum value [inlined].
*
* @returns 32-bit intermediary checksum value.
- * @param pUdpHdr Pointer to the UDP header to checksum, network endian (big).
+ * @param pvData Pointer to the data that should be checksummed.
+ * @param cbData The number of bytes to checksum.
* @param u32Sum The 32-bit intermediate checksum value.
* @param pfOdd This is used to keep track of odd bits, initialize to false
* when starting to checksum the data (aka text) after a TCP
@@ -341,7 +342,8 @@ DECLINLINE(uint32_t) rtNetIPv4AddDataChecksum(void const *pvData, size_t cbData,
* Adds the checksum of the specified data segment to the intermediate checksum value.
*
* @returns 32-bit intermediary checksum value.
- * @param pUdpHdr Pointer to the UDP header to checksum, network endian (big).
+ * @param pvData The data bits to checksum.
+ * @param cbData The number of bytes to checksum.
* @param u32Sum The 32-bit intermediate checksum value.
* @param pfOdd This is used to keep track of odd bits, initialize to false
* when starting to checksum the data (aka text) after a TCP