| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: if_fddisubr.c,v 1.79 2010/01/19 22:08:00 pooka Exp $ */ | | 1 | /* $NetBSD: if_fddisubr.c,v 1.80 2010/02/04 21:48:11 joerg Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. | | 4 | * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Redistribution and use in source and binary forms, with or without | | 7 | * Redistribution and use in source and binary forms, with or without |
8 | * modification, are permitted provided that the following conditions | | 8 | * modification, are permitted provided that the following conditions |
9 | * are met: | | 9 | * are met: |
10 | * 1. Redistributions of source code must retain the above copyright | | 10 | * 1. Redistributions of source code must retain the above copyright |
11 | * notice, this list of conditions and the following disclaimer. | | 11 | * notice, this list of conditions and the following disclaimer. |
12 | * 2. Redistributions in binary form must reproduce the above copyright | | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
13 | * notice, this list of conditions and the following disclaimer in the | | 13 | * notice, this list of conditions and the following disclaimer in the |
14 | * documentation and/or other materials provided with the distribution. | | 14 | * documentation and/or other materials provided with the distribution. |
| @@ -86,28 +86,29 @@ | | | @@ -86,28 +86,29 @@ |
86 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 86 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
87 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 87 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
88 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 88 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
89 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 89 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
90 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 90 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
91 | * SUCH DAMAGE. | | 91 | * SUCH DAMAGE. |
92 | * | | 92 | * |
93 | * @(#)if_fddisubr.c 8.1 (Berkeley) 6/10/93 | | 93 | * @(#)if_fddisubr.c 8.1 (Berkeley) 6/10/93 |
94 | * | | 94 | * |
95 | * Id: if_fddisubr.c,v 1.15 1997/03/21 22:35:50 thomas Exp | | 95 | * Id: if_fddisubr.c,v 1.15 1997/03/21 22:35:50 thomas Exp |
96 | */ | | 96 | */ |
97 | | | 97 | |
98 | #include <sys/cdefs.h> | | 98 | #include <sys/cdefs.h> |
99 | __KERNEL_RCSID(0, "$NetBSD: if_fddisubr.c,v 1.79 2010/01/19 22:08:00 pooka Exp $"); | | 99 | __KERNEL_RCSID(0, "$NetBSD: if_fddisubr.c,v 1.80 2010/02/04 21:48:11 joerg Exp $"); |
100 | | | 100 | |
| | | 101 | #include "opt_gateway.h" |
101 | #include "opt_inet.h" | | 102 | #include "opt_inet.h" |
102 | #include "opt_atalk.h" | | 103 | #include "opt_atalk.h" |
103 | #include "opt_iso.h" | | 104 | #include "opt_iso.h" |
104 | #include "opt_ipx.h" | | 105 | #include "opt_ipx.h" |
105 | #include "opt_mbuftrace.h" | | 106 | #include "opt_mbuftrace.h" |
106 | | | 107 | |
107 | | | 108 | |
108 | #include <sys/param.h> | | 109 | #include <sys/param.h> |
109 | #include <sys/systm.h> | | 110 | #include <sys/systm.h> |
110 | #include <sys/kernel.h> | | 111 | #include <sys/kernel.h> |
111 | #include <sys/malloc.h> | | 112 | #include <sys/malloc.h> |
112 | #include <sys/mbuf.h> | | 113 | #include <sys/mbuf.h> |
113 | #include <sys/protosw.h> | | 114 | #include <sys/protosw.h> |