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