~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to slirp/if.c

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2009-03-22 10:13:17 UTC
  • mfrom: (1.2.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090322101317-iigjtnu5qil35dtb
Tags: 0.10.1-1
[ Aurelien Jarno ]
* New upstream stable release:
  - patches/80_stable-branch.patch: remove.
* debian/control: 
  - Remove depends on proll.
  - Move depends on device-tree-compiler to build-depends.
  - Bump Standards-Version to 3.8.1 (no changes).
* patches/82_qemu-img_decimal.patch: new patch from upstream to make
  qemu-img accept sizes with decimal values (closes: bug#501400).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
17
17
 
18
 
void
19
 
ifs_insque(ifm, ifmhead)
20
 
        struct mbuf *ifm, *ifmhead;
 
18
static void
 
19
ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
21
20
{
22
21
        ifm->ifs_next = ifmhead->ifs_next;
23
22
        ifmhead->ifs_next = ifm;
25
24
        ifm->ifs_next->ifs_prev = ifm;
26
25
}
27
26
 
28
 
void
29
 
ifs_remque(ifm)
30
 
        struct mbuf *ifm;
 
27
static void
 
28
ifs_remque(struct mbuf *ifm)
31
29
{
32
30
        ifm->ifs_prev->ifs_next = ifm->ifs_next;
33
31
        ifm->ifs_next->ifs_prev = ifm->ifs_prev;
291
289
        }
292
290
 
293
291
        /* Encapsulate the packet for sending */
294
 
        if_encap(ifm->m_data, ifm->m_len);
 
292
        if_encap((uint8_t *)ifm->m_data, ifm->m_len);
295
293
 
296
294
        m_free(ifm);
297
295