diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-08-03 11:15:46 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-10-29 04:42:29 -0400 |
commit | 30da63a6af1dbf60e6d989faa4b984b1c6c9dfaf (patch) | |
tree | 6c596e108d2e0e65fe5914f71eef978076459b43 /net/batman-adv/main.h | |
parent | f03a13a7167caeb550b3c424da1be691bfbe54ff (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.h | 2 |
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); | |||
153 | void batadv_inc_module_count(void); | 153 | void batadv_inc_module_count(void); |
154 | void batadv_dec_module_count(void); | 154 | void batadv_dec_module_count(void); |
155 | int batadv_is_my_mac(const uint8_t *addr); | 155 | int batadv_is_my_mac(const uint8_t *addr); |
156 | struct batadv_hard_iface * | ||
157 | batadv_seq_print_text_primary_if_get(struct seq_file *seq); | ||
156 | int batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, | 158 | int 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); |