Lines Matching defs:soft_iface
181 struct net_device *soft_iface)
184 struct batadv_priv *bat_priv = netdev_priv(soft_iface);
212 netif_trans_update(soft_iface);
249 client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source,
400 * @soft_iface: local interface which will receive the ethernet frame
401 * @skb: ethernet frame for @soft_iface
405 * Sends an ethernet frame to the receive path of the local @soft_iface.
415 void batadv_interface_rx(struct net_device *soft_iface,
420 struct batadv_priv *bat_priv = netdev_priv(soft_iface);
460 skb->protocol = eth_type_trans(skb, soft_iface);
590 batadv_tt_local_add(bat_priv->soft_iface,
591 bat_priv->soft_iface->dev_addr, vid,
611 batadv_tt_local_remove(bat_priv, bat_priv->soft_iface->dev_addr,
656 batadv_tt_local_add(bat_priv->soft_iface,
657 bat_priv->soft_iface->dev_addr, vid,
745 bat_priv->soft_iface = dev;
841 if (!hard_iface || hard_iface->soft_iface)
866 if (!hard_iface || hard_iface->soft_iface != dev)
1094 * @soft_iface: the to-be-removed batman-adv interface
1097 static void batadv_softif_destroy_netlink(struct net_device *soft_iface,
1100 struct batadv_priv *bat_priv = netdev_priv(soft_iface);
1105 if (hard_iface->soft_iface == soft_iface)
1116 unregister_netdevice_queue(soft_iface, head);