| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
|---|
| 3 | 4 | * operating system. INET is implemented using the BSD Socket |
|---|
| .. | .. |
|---|
| 16 | 17 | * Richard Colella : Hang on hash collision |
|---|
| 17 | 18 | * Vince Laviano : Modified inet_del_protocol() to correctly |
|---|
| 18 | 19 | * maintain copy bit. |
|---|
| 19 | | - * |
|---|
| 20 | | - * This program is free software; you can redistribute it and/or |
|---|
| 21 | | - * modify it under the terms of the GNU General Public License |
|---|
| 22 | | - * as published by the Free Software Foundation; either version |
|---|
| 23 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 24 | 20 | */ |
|---|
| 25 | 21 | #include <linux/cache.h> |
|---|
| 26 | 22 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 29 | 25 | #include <net/protocol.h> |
|---|
| 30 | 26 | |
|---|
| 31 | 27 | struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] __read_mostly; |
|---|
| 28 | +EXPORT_SYMBOL(inet_protos); |
|---|
| 32 | 29 | const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly; |
|---|
| 33 | 30 | EXPORT_SYMBOL(inet_offloads); |
|---|
| 34 | 31 | |
|---|