diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-05-05 02:42:45 -0400 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-05-08 10:10:42 -0400 |
commit | 2dafb49d84a9195193b28ac5047df1bbab6053b9 (patch) | |
tree | cb3a9a77496257c54ce9fb61c4ff08743a98dc31 /net/batman-adv/hard-interface.c | |
parent | 01df2b65e97735547ce37844f4134b5ea99b4037 (diff) |
batman-adv: rename everything from *hna* into *tt* (translation table)
To be coherent, all the functions/variables/constants have been renamed
to the TranslationTable style
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r-- | net/batman-adv/hard-interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 7e2f7728f706..dfbfccc9fe40 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c | |||
@@ -154,10 +154,10 @@ static void primary_if_select(struct bat_priv *bat_priv, | |||
154 | primary_if_update_addr(bat_priv); | 154 | primary_if_update_addr(bat_priv); |
155 | 155 | ||
156 | /*** | 156 | /*** |
157 | * hacky trick to make sure that we send the HNA information via | 157 | * hacky trick to make sure that we send the TT information via |
158 | * our new primary interface | 158 | * our new primary interface |
159 | */ | 159 | */ |
160 | atomic_set(&bat_priv->hna_local_changed, 1); | 160 | atomic_set(&bat_priv->tt_local_changed, 1); |
161 | } | 161 | } |
162 | 162 | ||
163 | static bool hardif_is_iface_up(struct hard_iface *hard_iface) | 163 | static bool hardif_is_iface_up(struct hard_iface *hard_iface) |
@@ -339,7 +339,7 @@ int hardif_enable_interface(struct hard_iface *hard_iface, char *iface_name) | |||
339 | batman_packet->flags = 0; | 339 | batman_packet->flags = 0; |
340 | batman_packet->ttl = 2; | 340 | batman_packet->ttl = 2; |
341 | batman_packet->tq = TQ_MAX_VALUE; | 341 | batman_packet->tq = TQ_MAX_VALUE; |
342 | batman_packet->num_hna = 0; | 342 | batman_packet->num_tt = 0; |
343 | 343 | ||
344 | hard_iface->if_num = bat_priv->num_ifaces; | 344 | hard_iface->if_num = bat_priv->num_ifaces; |
345 | bat_priv->num_ifaces++; | 345 | bat_priv->num_ifaces++; |