VirtualBox

Changeset 31275 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 2, 2010 9:30:15 AM (14 years ago)
Author:
vboxsync
Message:

vboxnetflt: host-only checksum fix (UDP pseudo)

File:
1 edited

Legend:

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

    r31272 r31275  
    196196            pUdpHdr->uh_sum = RTNetUDPChecksum(u32PseudoSum, pUdpHdr);
    197197            break;
    198         /** @todo: Implement:
    199198        case PDMNETCSUMTYPE_PSEUDO:
    200             pUdpHdr->uh_sum = ???;
    201             break; */
     199            pUdpHdr->uh_sum = ~RTNetIPv4FinalizeChecksum(u32PseudoSum);
     200            break;
    202201        default:
    203202            AssertFailed();
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