| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * CIPSO - Commercial IP Security Option |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * de-facto standard for labeled networking. |
|---|
| 10 | 11 | * |
|---|
| 11 | 12 | * Author: Paul Moore <paul@paul-moore.com> |
|---|
| 12 | | - * |
|---|
| 13 | 13 | */ |
|---|
| 14 | 14 | |
|---|
| 15 | 15 | /* |
|---|
| 16 | 16 | * (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 | | - * |
|---|
| 31 | 17 | */ |
|---|
| 32 | 18 | |
|---|
| 33 | 19 | #ifndef _CIPSO_IPV4_H |
|---|
| .. | .. |
|---|
| 161 | 147 | static inline int cipso_v4_doi_walk(u32 *skip_cnt, |
|---|
| 162 | 148 | int (*callback) (struct cipso_v4_doi *doi_def, void *arg), |
|---|
| 163 | 149 | 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) |
|---|
| 176 | 150 | { |
|---|
| 177 | 151 | return 0; |
|---|
| 178 | 152 | } |
|---|