ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/if.c
(Generate patch)

Comparing BasiliskII/src/slirp/if.c (file contents):
Revision 1.2 by gbeauche, 2006-05-14T17:27:38Z vs.
Revision 1.3 by asvitkine, 2011-12-27T07:29:34Z

# Line 274 | Line 274 | if_start(void)
274             return; /* Nothing to do */
275          
276   again:
277 <        /* check if we can really output */
278 <        if (!slirp_can_output())
279 <            return;
277 >        /* check if we can really output */
278 >        if (!slirp_can_output())
279 >                return;
280  
281          /*
282           * See which queue to get next packet from
# Line 313 | Line 313 | if_start(void)
313          }
314          
315          /* Encapsulate the packet for sending */
316 <        if_encap(ifm->m_data, ifm->m_len);
316 >        if_encap((uint8_t*)ifm->m_data, ifm->m_len);
317  
318 <        m_free(ifm);
318 >        m_free(ifm);
319  
320          if (if_queued)
321             goto again;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines