Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C)2006 USAGI/WIDE Project |
Stephen Hemminger | ae665a5 | 2006-12-05 10:10:22 -0800 | [diff] [blame] | 3 | * |
Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
Stephen Hemminger | ae665a5 | 2006-12-05 10:10:22 -0800 | [diff] [blame] | 8 | * |
Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
Stephen Hemminger | ae665a5 | 2006-12-05 10:10:22 -0800 | [diff] [blame] | 13 | * |
Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 14 | * You should have received a copy of the GNU General Public License |
Stephen Hemminger | 4d98ab0 | 2013-12-06 15:05:07 -0800 | [diff] [blame] | 15 | * along with this program; if not, see <http://www.gnu.org/licenses>. |
Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 16 | */ |
| 17 | /* |
| 18 | * Author: |
| 19 | * Masahide NAKAMURA @USAGI |
| 20 | */ |
| 21 | #ifndef __TUNNEL_H__ |
| 22 | #define __TUNNEL_H__ 1 |
| 23 | |
| 24 | #include <linux/types.h> |
| 25 | |
| 26 | const char *tnl_strproto(__u8 proto); |
Stephen Hemminger | ea71bea | 2010-11-28 10:35:28 -0800 | [diff] [blame] | 27 | |
Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 28 | int tnl_get_ioctl(const char *basedev, void *p); |
| 29 | int tnl_add_ioctl(int cmd, const char *basedev, const char *name, void *p); |
| 30 | int tnl_del_ioctl(const char *basedev, const char *name, void *p); |
Sascha Hlusiak | a07e991 | 2009-05-04 01:44:47 +0200 | [diff] [blame] | 31 | int tnl_prl_ioctl(int cmd, const char *name, void *p); |
Alexandre Cassen | b88215c | 2009-12-16 02:38:29 +0000 | [diff] [blame] | 32 | int tnl_6rd_ioctl(int cmd, const char *name, void *p); |
| 33 | int tnl_ioctl_get_6rd(const char *name, void *p); |
Masahide NAKAMURA | d9bd1bd | 2006-11-24 12:27:03 +0900 | [diff] [blame] | 34 | |
| 35 | #endif |