Home | History | Annotate | Line # | Download | only in rumpnet
rumpnet_if_wrappers.c revision 1.1
      1 /*	$NetBSD: rumpnet_if_wrappers.c,v 1.1 2009/10/14 17:28:14 pooka Exp $	*/
      2 
      3 /*
      4  * Automatically generated.  DO NOT EDIT.
      5  * from: NetBSD: rumpnet.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
      6  * by:   NetBSD: makerumpif.sh,v 1.2 2009/10/14 17:26:09 pooka Exp
      7  */
      8 
      9 #include <sys/cdefs.h>
     10 #include <sys/systm.h>
     11 
     12 #include <rump/rump.h>
     13 #include <rump/rumpnet_if_pub.h>
     14 
     15 #include "rumpnet_if_priv.h"
     16 
     17 void __dead rump_net_unavailable(void);
     18 void __dead
     19 rump_net_unavailable(void)
     20 {
     21 
     22 	panic("net interface unavailable");
     23 }
     24 
     25 int
     26 rump_virtif_create(int arg1)
     27 {
     28 	int rv;
     29 
     30 	rv = rumppriv_virtif_create(arg1);
     31 
     32 	return rv;
     33 }
     34 __weak_alias(rumppriv_virtif_create,rump_net_unavailable);
     35