1*25154f5fSriastradh /* $NetBSD: wg_component.c,v 1.1 2020/08/26 16:03:42 riastradh Exp $ */
2*25154f5fSriastradh
3*25154f5fSriastradh /*
4*25154f5fSriastradh * Copyright (c) 2015 Internet Initiative Japan Inc.
5*25154f5fSriastradh * All rights reserved.
6*25154f5fSriastradh *
7*25154f5fSriastradh * Redistribution and use in source and binary forms, with or without
8*25154f5fSriastradh * modification, are permitted provided that the following conditions
9*25154f5fSriastradh * are met:
10*25154f5fSriastradh * 1. Redistributions of source code must retain the above copyright
11*25154f5fSriastradh * notice, this list of conditions and the following disclaimer.
12*25154f5fSriastradh * 2. Redistributions in binary form must reproduce the above copyright
13*25154f5fSriastradh * notice, this list of conditions and the following disclaimer in the
14*25154f5fSriastradh * documentation and/or other materials provided with the distribution.
15*25154f5fSriastradh *
16*25154f5fSriastradh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
17*25154f5fSriastradh * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18*25154f5fSriastradh * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19*25154f5fSriastradh * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20*25154f5fSriastradh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21*25154f5fSriastradh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22*25154f5fSriastradh * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23*25154f5fSriastradh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24*25154f5fSriastradh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*25154f5fSriastradh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*25154f5fSriastradh * SUCH DAMAGE.
27*25154f5fSriastradh */
28*25154f5fSriastradh
29*25154f5fSriastradh #include <sys/cdefs.h>
30*25154f5fSriastradh __KERNEL_RCSID(0, "$NetBSD: wg_component.c,v 1.1 2020/08/26 16:03:42 riastradh Exp $");
31*25154f5fSriastradh
32*25154f5fSriastradh #include <sys/param.h>
33*25154f5fSriastradh
34*25154f5fSriastradh #include <rump-sys/kern.h>
35*25154f5fSriastradh
36*25154f5fSriastradh int wgattach(int);
37*25154f5fSriastradh
RUMP_COMPONENT(RUMP_COMPONENT_NET_IF)38*25154f5fSriastradh RUMP_COMPONENT(RUMP_COMPONENT_NET_IF)
39*25154f5fSriastradh {
40*25154f5fSriastradh
41*25154f5fSriastradh wgattach(0);
42*25154f5fSriastradh }
43