hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/net/cipso_ipv4.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * CIPSO - Commercial IP Security Option
34 *
....@@ -9,25 +10,10 @@
910 * de-facto standard for labeled networking.
1011 *
1112 * Author: Paul Moore <paul@paul-moore.com>
12
- *
1313 */
1414
1515 /*
1616 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006
17
- *
18
- * This program is free software; you can redistribute it and/or modify
19
- * it under the terms of the GNU General Public License as published by
20
- * the Free Software Foundation; either version 2 of the License, or
21
- * (at your option) any later version.
22
- *
23
- * This program is distributed in the hope that it will be useful,
24
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
26
- * the GNU General Public License for more details.
27
- *
28
- * You should have received a copy of the GNU General Public License
29
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
30
- *
3117 */
3218
3319 #ifndef _CIPSO_IPV4_H
....@@ -161,18 +147,6 @@
161147 static inline int cipso_v4_doi_walk(u32 *skip_cnt,
162148 int (*callback) (struct cipso_v4_doi *doi_def, void *arg),
163149 void *cb_arg)
164
-{
165
- return 0;
166
-}
167
-
168
-static inline int cipso_v4_doi_domhsh_add(struct cipso_v4_doi *doi_def,
169
- const char *domain)
170
-{
171
- return -ENOSYS;
172
-}
173
-
174
-static inline int cipso_v4_doi_domhsh_remove(struct cipso_v4_doi *doi_def,
175
- const char *domain)
176150 {
177151 return 0;
178152 }