3 * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.
8 /* Number of packets queued before we start sending
9 * (to prevent allocing too many mbufs) */
13 * IPv6 output. The packet in mbuf chain m contains a IP header
15 int ip6_output(struct socket
*so
, struct mbuf
*m
, int fast
)
17 struct ip6
*ip
= mtod(m
, struct ip6
*);
19 DEBUG_CALL("ip6_output");
20 DEBUG_ARG("so = %p", so
);
21 DEBUG_ARG("m = %p", m
);
23 /* Fill IPv6 header */
24 ip
->ip_v
= IP6VERSION
;
25 ip
->ip_hl
= IP6_HOP_LIMIT
;
32 if_encap(m
->slirp
, m
);