diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-06-03 16:19:20 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-07-01 16:47:19 -0400 |
commit | d69909d2fc9e00bd8149cc8df9b18c35008e3e62 (patch) | |
tree | 305ce47abad3d2ef055d36b0c9b9808e3555111d /net/batman-adv/translation-table.c | |
parent | e9a4f295ebe06b00d6af5597c0cea78c315c2ebc (diff) |
batman-adv: Prefix types enum with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r-- | net/batman-adv/translation-table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 156c3094c12b..f36d1d52bff9 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
@@ -1471,7 +1471,7 @@ static int batadv_send_tt_request(struct bat_priv *bat_priv, | |||
1471 | dst_orig_node->orig, neigh_node->addr, | 1471 | dst_orig_node->orig, neigh_node->addr, |
1472 | (full_table ? 'F' : '.')); | 1472 | (full_table ? 'F' : '.')); |
1473 | 1473 | ||
1474 | batadv_inc_counter(bat_priv, BAT_CNT_TT_REQUEST_TX); | 1474 | batadv_inc_counter(bat_priv, BATADV_CNT_TT_REQUEST_TX); |
1475 | 1475 | ||
1476 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); | 1476 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); |
1477 | ret = 0; | 1477 | ret = 0; |
@@ -1599,7 +1599,7 @@ static bool batadv_send_other_tt_response(struct bat_priv *bat_priv, | |||
1599 | res_dst_orig_node->orig, neigh_node->addr, | 1599 | res_dst_orig_node->orig, neigh_node->addr, |
1600 | req_dst_orig_node->orig, req_ttvn); | 1600 | req_dst_orig_node->orig, req_ttvn); |
1601 | 1601 | ||
1602 | batadv_inc_counter(bat_priv, BAT_CNT_TT_RESPONSE_TX); | 1602 | batadv_inc_counter(bat_priv, BATADV_CNT_TT_RESPONSE_TX); |
1603 | 1603 | ||
1604 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); | 1604 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); |
1605 | ret = true; | 1605 | ret = true; |
@@ -1720,7 +1720,7 @@ static bool batadv_send_my_tt_response(struct bat_priv *bat_priv, | |||
1720 | orig_node->orig, neigh_node->addr, | 1720 | orig_node->orig, neigh_node->addr, |
1721 | (tt_response->flags & TT_FULL_TABLE ? 'F' : '.')); | 1721 | (tt_response->flags & TT_FULL_TABLE ? 'F' : '.')); |
1722 | 1722 | ||
1723 | batadv_inc_counter(bat_priv, BAT_CNT_TT_RESPONSE_TX); | 1723 | batadv_inc_counter(bat_priv, BATADV_CNT_TT_RESPONSE_TX); |
1724 | 1724 | ||
1725 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); | 1725 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); |
1726 | ret = true; | 1726 | ret = true; |
@@ -2038,7 +2038,7 @@ static void batadv_send_roam_adv(struct bat_priv *bat_priv, uint8_t *client, | |||
2038 | "Sending ROAMING_ADV to %pM (client %pM) via %pM\n", | 2038 | "Sending ROAMING_ADV to %pM (client %pM) via %pM\n", |
2039 | orig_node->orig, client, neigh_node->addr); | 2039 | orig_node->orig, client, neigh_node->addr); |
2040 | 2040 | ||
2041 | batadv_inc_counter(bat_priv, BAT_CNT_TT_ROAM_ADV_TX); | 2041 | batadv_inc_counter(bat_priv, BATADV_CNT_TT_ROAM_ADV_TX); |
2042 | 2042 | ||
2043 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); | 2043 | batadv_send_skb_packet(skb, neigh_node->if_incoming, neigh_node->addr); |
2044 | ret = 0; | 2044 | ret = 0; |