1*de1e4e89SAndroid Build Coastguard Worker /* 2*de1e4e89SAndroid Build Coastguard Worker * Copyright (C)2006 USAGI/WIDE Project 3*de1e4e89SAndroid Build Coastguard Worker * 4*de1e4e89SAndroid Build Coastguard Worker * This program is free software; you can redistribute it and/or modify 5*de1e4e89SAndroid Build Coastguard Worker * it under the terms of the GNU General Public License as published by 6*de1e4e89SAndroid Build Coastguard Worker * the Free Software Foundation; either version 2 of the License, or 7*de1e4e89SAndroid Build Coastguard Worker * (at your option) any later version. 8*de1e4e89SAndroid Build Coastguard Worker * 9*de1e4e89SAndroid Build Coastguard Worker * This program is distributed in the hope that it will be useful, 10*de1e4e89SAndroid Build Coastguard Worker * but WITHOUT ANY WARRANTY; without even the implied warranty of 11*de1e4e89SAndroid Build Coastguard Worker * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12*de1e4e89SAndroid Build Coastguard Worker * GNU General Public License for more details. 13*de1e4e89SAndroid Build Coastguard Worker * 14*de1e4e89SAndroid Build Coastguard Worker * You should have received a copy of the GNU General Public License 15*de1e4e89SAndroid Build Coastguard Worker * along with this program; if not, see <http://www.gnu.org/licenses>. 16*de1e4e89SAndroid Build Coastguard Worker */ 17*de1e4e89SAndroid Build Coastguard Worker /* 18*de1e4e89SAndroid Build Coastguard Worker * Author: 19*de1e4e89SAndroid Build Coastguard Worker * Masahide NAKAMURA @USAGI 20*de1e4e89SAndroid Build Coastguard Worker */ 21*de1e4e89SAndroid Build Coastguard Worker #ifndef __TUNNEL_H__ 22*de1e4e89SAndroid Build Coastguard Worker #define __TUNNEL_H__ 1 23*de1e4e89SAndroid Build Coastguard Worker 24*de1e4e89SAndroid Build Coastguard Worker #include <linux/types.h> 25*de1e4e89SAndroid Build Coastguard Worker 26*de1e4e89SAndroid Build Coastguard Worker const char *tnl_strproto(__u8 proto); 27*de1e4e89SAndroid Build Coastguard Worker 28*de1e4e89SAndroid Build Coastguard Worker int tnl_get_ioctl(const char *basedev, void *p); 29*de1e4e89SAndroid Build Coastguard Worker int tnl_add_ioctl(int cmd, const char *basedev, const char *name, void *p); 30*de1e4e89SAndroid Build Coastguard Worker int tnl_del_ioctl(const char *basedev, const char *name, void *p); 31*de1e4e89SAndroid Build Coastguard Worker int tnl_prl_ioctl(int cmd, const char *name, void *p); 32*de1e4e89SAndroid Build Coastguard Worker int tnl_6rd_ioctl(int cmd, const char *name, void *p); 33*de1e4e89SAndroid Build Coastguard Worker int tnl_ioctl_get_6rd(const char *name, void *p); 34*de1e4e89SAndroid Build Coastguard Worker __be32 tnl_parse_key(const char *name, const char *key); 35*de1e4e89SAndroid Build Coastguard Worker void tnl_print_stats(const char *buf); 36*de1e4e89SAndroid Build Coastguard Worker 37*de1e4e89SAndroid Build Coastguard Worker #endif 38