aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/vis.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /net/batman-adv/vis.h
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'net/batman-adv/vis.h')
-rw-r--r--net/batman-adv/vis.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/net/batman-adv/vis.h b/net/batman-adv/vis.h
index 873282fa86d..31b820d07f2 100644
--- a/net/batman-adv/vis.h
+++ b/net/batman-adv/vis.h
@@ -1,4 +1,5 @@
1/* Copyright (C) 2008-2012 B.A.T.M.A.N. contributors: 1/*
2 * Copyright (C) 2008-2011 B.A.T.M.A.N. contributors:
2 * 3 *
3 * Simon Wunderlich, Marek Lindner 4 * Simon Wunderlich, Marek Lindner
4 * 5 *
@@ -15,22 +16,22 @@
15 * along with this program; if not, write to the Free Software 16 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301, USA 18 * 02110-1301, USA
19 *
18 */ 20 */
19 21
20#ifndef _NET_BATMAN_ADV_VIS_H_ 22#ifndef _NET_BATMAN_ADV_VIS_H_
21#define _NET_BATMAN_ADV_VIS_H_ 23#define _NET_BATMAN_ADV_VIS_H_
22 24
23/* timeout of vis packets in milliseconds */ 25#define VIS_TIMEOUT 200 /* timeout of vis packets in seconds */
24#define BATADV_VIS_TIMEOUT 200000
25 26
26int batadv_vis_seq_print_text(struct seq_file *seq, void *offset); 27int vis_seq_print_text(struct seq_file *seq, void *offset);
27void batadv_receive_server_sync_packet(struct batadv_priv *bat_priv, 28void receive_server_sync_packet(struct bat_priv *bat_priv,
28 struct batadv_vis_packet *vis_packet, 29 struct vis_packet *vis_packet,
29 int vis_info_len); 30 int vis_info_len);
30void batadv_receive_client_update_packet(struct batadv_priv *bat_priv, 31void receive_client_update_packet(struct bat_priv *bat_priv,
31 struct batadv_vis_packet *vis_packet, 32 struct vis_packet *vis_packet,
32 int vis_info_len); 33 int vis_info_len);
33int batadv_vis_init(struct batadv_priv *bat_priv); 34int vis_init(struct bat_priv *bat_priv);
34void batadv_vis_quit(struct batadv_priv *bat_priv); 35void vis_quit(struct bat_priv *bat_priv);
35 36
36#endif /* _NET_BATMAN_ADV_VIS_H_ */ 37#endif /* _NET_BATMAN_ADV_VIS_H_ */