]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/staging/batman-adv/proc.h
Staging: batman-adv: splitting /proc vis file into vis_server and vis_data
[net-next-2.6.git] / drivers / staging / batman-adv / proc.h
CommitLineData
5beef3c9
AL
1/*
2 * Copyright (C) 2007-2009 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301, USA
19 *
20 */
21
22#include <linux/proc_fs.h>
23#include <linux/seq_file.h>
24
25#define PROC_ROOT_DIR "batman-adv"
26#define PROC_FILE_INTERFACES "interfaces"
27#define PROC_FILE_ORIG_INTERVAL "orig_interval"
28#define PROC_FILE_ORIGINATORS "originators"
29#define PROC_FILE_GATEWAYS "gateways"
30#define PROC_FILE_LOG "log"
31#define PROC_FILE_LOG_LEVEL "log_level"
32#define PROC_FILE_TRANST_LOCAL "transtable_local"
33#define PROC_FILE_TRANST_GLOBAL "transtable_global"
e9b76450
ML
34#define PROC_FILE_VIS_SRV "vis_server"
35#define PROC_FILE_VIS_DATA "vis_data"
5beef3c9
AL
36#define PROC_FILE_AGGR "aggregate_ogm"
37
38void cleanup_procfs(void);
39int setup_procfs(void);
40