VirtualBox

Changeset 29050 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 5, 2010 2:26:10 AM (15 years ago)
Author:
vboxsync
Message:

NAT: reserves space for ether header before any manipulation with mbuf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/tftp.c

    r28800 r29050  
    157157    m->m_data += if_maxlinkhdr;
    158158#else
     159    m->m_data += if_maxlinkhdr;
    159160    m->m_pkthdr.header = mtod(m, void *);
    160161#endif
     
    206207    m->m_data += if_maxlinkhdr;
    207208#else
     209    m->m_data += if_maxlinkhdr;
    208210    m->m_pkthdr.header = mtod(m, void *);
    209211#endif
     
    262264    m->m_data += if_maxlinkhdr;
    263265#else
     266    m->m_data += if_maxlinkhdr;
    264267    m->m_pkthdr.header = mtod(m, void *);
    265268#endif
    266     tp = (void *)m->m_data;
     269    tp = mtod(m, void *);
    267270    m->m_data += sizeof(struct udpiphdr);
    268271
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