virtio-net: make VirtIOFeature usable for other virtio devices
[qemu/kevin.git] / slirp / main.h
blobf11d4572b76b8f8273e8e5ff25a3a30308a87896
1 /*
2 * Copyright (c) 1995 Danny Gasparovski.
4 * Please read the file COPYRIGHT for the
5 * terms and conditions of the copyright.
6 */
8 #ifndef SLIRP_MAIN_H
9 #define SLIRP_MAIN_H
11 extern unsigned curtime;
12 extern struct in_addr loopback_addr;
13 extern unsigned long loopback_mask;
15 int if_encap(Slirp *slirp, struct mbuf *ifm);
16 ssize_t slirp_send(struct socket *so, const void *buf, size_t len, int flags);
18 #endif