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