aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-08-03 11:15:46 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-10-29 04:42:29 -0400
commit30da63a6af1dbf60e6d989faa4b984b1c6c9dfaf (patch)
tree6c596e108d2e0e65fe5914f71eef978076459b43 /net/batman-adv/main.h
parentf03a13a7167caeb550b3c424da1be691bfbe54ff (diff)
batman-adv: consolidate duplicated primary_if checking code
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index d57b746219de..5c0be5b13415 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -153,6 +153,8 @@ void batadv_mesh_free(struct net_device *soft_iface);
153void batadv_inc_module_count(void); 153void batadv_inc_module_count(void);
154void batadv_dec_module_count(void); 154void batadv_dec_module_count(void);
155int batadv_is_my_mac(const uint8_t *addr); 155int batadv_is_my_mac(const uint8_t *addr);
156struct batadv_hard_iface *
157batadv_seq_print_text_primary_if_get(struct seq_file *seq);
156int batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, 158int batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev,
157 struct packet_type *ptype, 159 struct packet_type *ptype,
158 struct net_device *orig_dev); 160 struct net_device *orig_dev);