aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/types.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-05 22:31:30 +0200
committerAntonio Quartulli <ordex@autistici.org>2012-07-01 22:47:21 +0200
commit96412690116afcc1b2705615b5a7c8dc6c5e905f (patch)
tree0eb2a1a557e2997175b27f3ab925bbdc29ece54d /net/batman-adv/types.h
parentbatman-adv: Prefix local sysfs struct with batadv_ (diff)
downloadlinux-dev-96412690116afcc1b2705615b5a7c8dc6c5e905f.tar.xz
linux-dev-96412690116afcc1b2705615b5a7c8dc6c5e905f.zip
batman-adv: Prefix packet structs with batadv_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to '')
-rw-r--r--net/batman-adv/types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index 9dddaf1c1ca0..fb61d9cd912f 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -25,8 +25,8 @@
#include <linux/kernel.h>
#define BATADV_HEADER_LEN \
- (ETH_HLEN + max(sizeof(struct unicast_packet), \
- sizeof(struct bcast_packet)))
+ (ETH_HLEN + max(sizeof(struct batadv_unicast_packet), \
+ sizeof(struct batadv_bcast_packet)))
struct hard_iface {
struct list_head list;
@@ -211,7 +211,7 @@ struct bat_priv {
#ifdef CONFIG_BATMAN_ADV_BLA
struct bcast_duplist_entry bcast_duplist[BATADV_DUPLIST_SIZE];
int bcast_duplist_curr;
- struct bla_claim_dst claim_dest;
+ struct batadv_bla_claim_dst claim_dest;
#endif
spinlock_t forw_bat_list_lock; /* protects forw_bat_list */
spinlock_t forw_bcast_list_lock; /* protects */
@@ -250,7 +250,7 @@ struct socket_client {
struct socket_packet {
struct list_head list;
size_t icmp_len;
- struct icmp_packet_rr icmp_packet;
+ struct batadv_icmp_packet_rr icmp_packet;
};
struct tt_common_entry {
@@ -306,7 +306,7 @@ struct claim {
struct tt_change_node {
struct list_head list;
- struct tt_change change;
+ struct batadv_tt_change change;
};
struct tt_req_node {