VirtualBox

Ignore:
Timestamp:
Oct 10, 2022 8:06:04 PM (2 years ago)
Author:
vboxsync
Message:

Networkservices: Further cleanup and consolidation, get rid of the almost useless IntNetIf helper class and add methods to the low level code offering the missing functionality there, bugref:10297 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r97078 r97079  
    19541954    size_t cbFrame = (size_t)pPBuf->tot_len - ETH_PAD_SIZE;
    19551955    INTNETFRAME Frame;
    1956     rc = IntNetR3IfQueryOutputFrame(self->m_hIf, cbFrame, &Frame);
     1956    rc = IntNetR3IfQueryOutputFrame(self->m_hIf, (uint32_t)cbFrame, &Frame);
    19571957    if (RT_FAILURE(rc))
    19581958        return ERR_MEM;
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