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