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