| @@ -1,37 +1,37 @@ | | | @@ -1,37 +1,37 @@ |
1 | /* $NetBSD: if_lagg.c,v 1.3 2021/05/24 06:08:28 yamaguchi Exp $ */ | | 1 | /* $NetBSD: if_lagg.c,v 1.4 2021/05/24 13:42:58 thorpej Exp $ */ |
2 | | | | |
3 | #include <sys/cdefs.h> | | | |
4 | __KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.3 2021/05/24 06:08:28 yamaguchi Exp $"); | | | |
5 | | | 2 | |
6 | /* | | 3 | /* |
7 | * Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org> | | 4 | * Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org> |
8 | * Copyright (c) 2007 Andrew Thompson <thompsa@FreeBSD.org> | | 5 | * Copyright (c) 2007 Andrew Thompson <thompsa@FreeBSD.org> |
9 | * Copyright (c) 2014, 2016 Marcelo Araujo <araujo@FreeBSD.org> | | 6 | * Copyright (c) 2014, 2016 Marcelo Araujo <araujo@FreeBSD.org> |
10 | * Copyright (c) 2021, Internet Initiative Japan Inc. | | 7 | * Copyright (c) 2021, Internet Initiative Japan Inc. |
11 | * | | 8 | * |
12 | * Permission to use, copy, modify, and distribute this software for any | | 9 | * Permission to use, copy, modify, and distribute this software for any |
13 | * purpose with or without fee is hereby granted, provided that the above | | 10 | * purpose with or without fee is hereby granted, provided that the above |
14 | * copyright notice and this permission notice appear in all copies. | | 11 | * copyright notice and this permission notice appear in all copies. |
15 | * | | 12 | * |
16 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | | 13 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
17 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | | 14 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
18 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | | 15 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
19 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | | 16 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
20 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | | 17 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
21 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | | 18 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
22 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | | 19 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
23 | */ | | 20 | */ |
24 | | | 21 | |
| | | 22 | #include <sys/cdefs.h> |
| | | 23 | __KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.4 2021/05/24 13:42:58 thorpej Exp $"); |
| | | 24 | |
25 | #ifdef _KERNEL_OPT | | 25 | #ifdef _KERNEL_OPT |
26 | #include "opt_inet.h" | | 26 | #include "opt_inet.h" |
27 | #include "opt_lagg.h" | | 27 | #include "opt_lagg.h" |
28 | #endif | | 28 | #endif |
29 | | | 29 | |
30 | #include <sys/param.h> | | 30 | #include <sys/param.h> |
31 | #include <sys/types.h> | | 31 | #include <sys/types.h> |
32 | | | 32 | |
33 | #include <sys/cprng.h> | | 33 | #include <sys/cprng.h> |
34 | #include <sys/device.h> | | 34 | #include <sys/device.h> |
35 | #include <sys/evcnt.h> | | 35 | #include <sys/evcnt.h> |
36 | #include <sys/hash.h> | | 36 | #include <sys/hash.h> |
37 | #include <sys/kmem.h> | | 37 | #include <sys/kmem.h> |