batman-adv: Prefix translation-table non-static functions with batadv_
[deliverable/linux.git] / net / batman-adv / soft-interface.c
index cbc36f0ec242dfbfbf31f8bd251adf97b333a704..a4b5e64bf0c73f135f279181e90241bd7cfa545a 100644 (file)
@@ -109,9 +109,9 @@ static int interface_set_mac_addr(struct net_device *dev, void *p)
 
        /* only modify transtable if it has been initialized before */
        if (atomic_read(&bat_priv->mesh_state) == MESH_ACTIVE) {
-               tt_local_remove(bat_priv, dev->dev_addr,
-                               "mac address changed", false);
-               tt_local_add(dev, addr->sa_data, NULL_IFINDEX);
+               batadv_tt_local_remove(bat_priv, dev->dev_addr,
+                                      "mac address changed", false);
+               batadv_tt_local_add(dev, addr->sa_data, NULL_IFINDEX);
        }
 
        memcpy(dev->dev_addr, addr->sa_data, ETH_ALEN);
@@ -166,7 +166,7 @@ static int interface_tx(struct sk_buff *skb, struct net_device *soft_iface)
                goto dropped;
 
        /* Register the client MAC in the transtable */
-       tt_local_add(soft_iface, ethhdr->h_source, skb->skb_iif);
+       batadv_tt_local_add(soft_iface, ethhdr->h_source, skb->skb_iif);
 
        /* don't accept stp packets. STP does not help in meshes.
         * better use the bridge loop avoidance ...
@@ -303,7 +303,7 @@ void batadv_interface_rx(struct net_device *soft_iface,
 
        soft_iface->last_rx = jiffies;
 
-       if (is_ap_isolated(bat_priv, ethhdr->h_source, ethhdr->h_dest))
+       if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source, ethhdr->h_dest))
                goto dropped;
 
        /* Let the bridge loop avoidance check the packet. If will
This page took 0.030206 seconds and 5 git commands to generate.