VirtualBox

Changeset 28074 in vbox


Ignore:
Timestamp:
Apr 7, 2010 11:23:28 PM (15 years ago)
Author:
vboxsync
Message:

pdmnetintline: spelling mistake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmnetinline.h

    r28055 r28074  
    150150 * Update an UDP header after carving out a segment
    151151 *
    152  * @param   u32PsudoSum         The pseudo checksum.
     152 * @param   u32PseudoSum        The pseudo checksum.
    153153 * @param   pbSegHdrs           Pointer to the header bytes / frame start.
    154154 * @param   offUdpHdr           The offset into @a pbSegHdrs of the UDP header.
     
    158158 * @internal
    159159 */
    160 DECLINLINE(void) pdmNetGsoUpdateUdpHdr(uint32_t u32PsudoSum, uint8_t *pbSegHdrs, uint8_t offUdpHdr,
     160DECLINLINE(void) pdmNetGsoUpdateUdpHdr(uint32_t u32PseudoSum, uint8_t *pbSegHdrs, uint8_t offUdpHdr,
    161161                                       uint8_t const *pbPayload, uint32_t cbPayload, uint8_t cbHdrs)
    162162{
    163163    PRTNETUDP pUdpHdr = (PRTNETUDP)&pbSegHdrs[offUdpHdr];
    164164    pUdpHdr->uh_ulen = cbPayload + cbHdrs - offUdpHdr;
    165     pUdpHdr->uh_sum  = RTNetUDPChecksum(u32PsudoSum, pUdpHdr);
     165    pUdpHdr->uh_sum  = RTNetUDPChecksum(u32PseudoSum, pUdpHdr);
    166166}
    167167
     
    170170 * Update a TCP header after carving out a segment.
    171171 *
    172  * @param   u32PsudoSum         The pseudo checksum.
     172 * @param   u32PseudoSum        The pseudo checksum.
    173173 * @param   pbSegHdrs           Pointer to the header bytes / frame start.
    174174 * @param   offTcpHdr           The offset into @a pbSegHdrs of the TCP header.
     
    182182 * @internal
    183183 */
    184 DECLINLINE(void) pdmNetGsoUpdateTcpHdr(uint32_t u32PsudoSum, uint8_t *pbSegHdrs, uint8_t offTcpHdr,
     184DECLINLINE(void) pdmNetGsoUpdateTcpHdr(uint32_t u32PseudoSum, uint8_t *pbSegHdrs, uint8_t offTcpHdr,
    185185                                       uint8_t const *pbPayload, uint32_t cbPayload, uint32_t offPayload, uint8_t cbHdrs, bool fLastSeg)
    186186{
     
    189189    if (!fLastSeg)
    190190        pTcpHdr->th_flags &= ~(RTNETTCP_F_FIN | RTNETTCP_F_PSH);
    191     pTcpHdr->th_sum = RTNetTCPChecksum(u32PsudoSum, pTcpHdr, pbPayload, cbPayload);
     191    pTcpHdr->th_sum = RTNetTCPChecksum(u32PseudoSum, pTcpHdr, pbPayload, cbPayload);
    192192}
    193193
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette