VirtualBox

Changeset 25375 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 14, 2009 7:24:09 PM (15 years ago)
Author:
vboxsync
Message:

warning

File:
1 edited

Legend:

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

    r25067 r25375  
    2020static int mbuf_zone_init(PNATState pData)
    2121{
    22     int limit;
    2322    struct mbuf_zone *mzone;
    2423    int i;
     
    3837    }
    3938
    40     for(i = 0; i < MBUF_ZONE_SIZE; ++i)
     39    for (i = 0; i < MBUF_ZONE_SIZE; ++i)
    4140    {
    4241        m = (struct mbuf *)((char *)zone + i*msize);
     
    6463        mz = LIST_FIRST(&pData->mbuf_zone_head);
    6564        zone = mz->mbuf_zone_base_addr;
    66         for(i = 0; i < MBUF_ZONE_SIZE; ++i)
     65        for (i = 0; i < MBUF_ZONE_SIZE; ++i)
    6766        {
    6867            m = (struct mbuf *)((char *)zone + i*msize);
     
    8079m_init(PNATState pData)
    8180{
    82     int i;
    83     struct mbuf *m;
    8481    int rc = 0;
    8582    m_freelist.m_next = m_freelist.m_prev = &m_freelist;
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