3 * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.
6 #include "qemu/osdep.h"
7 #include "qemu-common.h"
10 /* Number of packets queued before we start sending
11 * (to prevent allocing too many mbufs) */
15 * IPv6 output. The packet in mbuf chain m contains a IP header
17 int ip6_output(struct socket *so, struct mbuf *m, int fast)
19 struct ip6 *ip = mtod(m, struct ip6 *);
21 DEBUG_CALL("ip6_output");
22 DEBUG_ARG("so = %lx", (long)so);
23 DEBUG_ARG("m = %lx", (long)m);
25 /* Fill IPv6 header */
26 ip->ip_v = IP6VERSION;
27 ip->ip_hl = IP6_HOP_LIMIT;
34 if_encap(m->slirp, m);