diff options
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 1d5d21ed8e8..fd538ea6811 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h | |||
@@ -85,7 +85,7 @@ struct orig_node { | |||
85 | bool tt_poss_change; | 85 | bool tt_poss_change; |
86 | uint32_t last_real_seqno; | 86 | uint32_t last_real_seqno; |
87 | uint8_t last_ttl; | 87 | uint8_t last_ttl; |
88 | DECLARE_BITMAP(bcast_bits, TQ_LOCAL_WINDOW_SIZE); | 88 | DECLARE_BITMAP(bcast_bits, BATADV_TQ_LOCAL_WINDOW_SIZE); |
89 | uint32_t last_bcast_seqno; | 89 | uint32_t last_bcast_seqno; |
90 | struct hlist_head neigh_list; | 90 | struct hlist_head neigh_list; |
91 | struct list_head frag_list; | 91 | struct list_head frag_list; |
@@ -121,13 +121,13 @@ struct neigh_node { | |||
121 | struct hlist_node list; | 121 | struct hlist_node list; |
122 | uint8_t addr[ETH_ALEN]; | 122 | uint8_t addr[ETH_ALEN]; |
123 | uint8_t real_packet_count; | 123 | uint8_t real_packet_count; |
124 | uint8_t tq_recv[TQ_GLOBAL_WINDOW_SIZE]; | 124 | uint8_t tq_recv[BATADV_TQ_GLOBAL_WINDOW_SIZE]; |
125 | uint8_t tq_index; | 125 | uint8_t tq_index; |
126 | uint8_t tq_avg; | 126 | uint8_t tq_avg; |
127 | uint8_t last_ttl; | 127 | uint8_t last_ttl; |
128 | struct list_head bonding_list; | 128 | struct list_head bonding_list; |
129 | unsigned long last_seen; | 129 | unsigned long last_seen; |
130 | DECLARE_BITMAP(real_bits, TQ_LOCAL_WINDOW_SIZE); | 130 | DECLARE_BITMAP(real_bits, BATADV_TQ_LOCAL_WINDOW_SIZE); |
131 | atomic_t refcount; | 131 | atomic_t refcount; |
132 | struct rcu_head rcu; | 132 | struct rcu_head rcu; |
133 | struct orig_node *orig_node; | 133 | struct orig_node *orig_node; |
@@ -209,7 +209,7 @@ struct bat_priv { | |||
209 | struct list_head tt_roam_list; | 209 | struct list_head tt_roam_list; |
210 | struct hashtable_t *vis_hash; | 210 | struct hashtable_t *vis_hash; |
211 | #ifdef CONFIG_BATMAN_ADV_BLA | 211 | #ifdef CONFIG_BATMAN_ADV_BLA |
212 | struct bcast_duplist_entry bcast_duplist[DUPLIST_SIZE]; | 212 | struct bcast_duplist_entry bcast_duplist[BATADV_DUPLIST_SIZE]; |
213 | int bcast_duplist_curr; | 213 | int bcast_duplist_curr; |
214 | struct bla_claim_dst claim_dest; | 214 | struct bla_claim_dst claim_dest; |
215 | #endif | 215 | #endif |
@@ -348,7 +348,7 @@ struct if_list_entry { | |||
348 | }; | 348 | }; |
349 | 349 | ||
350 | struct debug_log { | 350 | struct debug_log { |
351 | char log_buff[LOG_BUF_LEN]; | 351 | char log_buff[BATADV_LOG_BUF_LEN]; |
352 | unsigned long log_start; | 352 | unsigned long log_start; |
353 | unsigned long log_end; | 353 | unsigned long log_end; |
354 | spinlock_t lock; /* protects log_buff, log_start and log_end */ | 354 | spinlock_t lock; /* protects log_buff, log_start and log_end */ |