VirtualBox

Changeset 28055 in vbox for trunk


Ignore:
Timestamp:
Apr 7, 2010 5:22:43 PM (15 years ago)
Author:
vboxsync
Message:

pdmnetinline.h: endian bug fix in pdmNetGsoUpdateIPv4Hdr.

File:
1 edited

Legend:

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

    r28037 r28055  
    119119
    120120/**
    121  * Calculates the number of segements a GSO frame will be segmented into.
     121 * Calculates the number of segments a GSO frame will be segmented into.
    122122 *
    123123 * @returns Segment count.
     
    234234    pIpHdr->ip_len    = RT_H2N_U16(cbHdrs - offIpHdr + cbSegPayload);
    235235    pIpHdr->ip_id     = RT_H2N_U16(RT_N2H_U16(pIpHdr->ip_id) + iSeg);
    236     pIpHdr->ip_sum    = RT_H2N_U16(RTNetIPv4HdrChecksum(pIpHdr));
     236    pIpHdr->ip_sum    = RTNetIPv4HdrChecksum(pIpHdr);
    237237    return RTNetIPv4PseudoChecksum(pIpHdr);
    238238}
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