Lines Matching full:interface

7 #include "hard-interface.h"
42 #include "mesh-interface.h"
57 * batadv_hardif_release() - release hard interface from lists and queue for
59 * @ref: kref pointer of the hard interface
73 * batadv_hardif_get_by_netdev() - Get hard interface object of a net_device
153 * If the user creates any virtual device on top of a batman-adv interface, it
154 * is important to prevent this new interface from being used to create a new
157 * device passed as argument looking for a batman-adv mesh interface.
159 * Return: true if the device is descendant of a batman-adv mesh interface (or
160 * if it is a batman-adv interface itself), false otherwise
170 /* check if this is a batman-adv mesh interface */ in batadv_is_on_batman_iface()
202 * interface
207 * interface stack.
209 * Return: true if @net_dev can be used as a hard interface, false otherwise
231 * interface on top of another 'real' interface
282 * interface on top of another 'real' interface
301 * wext wifi interface
325 * cfg80211 wifi interface
417 * batadv_is_wifi_hardif() - check if the given hardif is a wifi interface
431 * @if_outgoing: the outgoing interface checked and considered for (re)broadcast
436 * Checks whether a packet needs to be (re)broadcasted on the given interface.
439 * BATADV_HARDIF_BCAST_NORECIPIENT: No neighbor on interface
482 * batadv_hardif_get_active() - retrieve an active hard interface for a mesh
483 * interface
484 * @mesh_iface: mesh interface to search
486 * Return: first hard interface in BATADV_IF_ACTIVE state attached to
510 * batadv_primary_if_update_addr() - propagate the new primary interface MAC
512 * @bat_priv: the bat priv with all the mesh interface information
513 * @oldif: previously used primary interface, or NULL if none
534 * batadv_primary_if_select() - select the new primary interface
535 * @bat_priv: the bat priv with all the mesh interface information
536 * @new_hard_iface: new primary interface, may be NULL
538 * Replace the currently selected primary interface with @new_hard_iface,
567 * hard interface is up
568 * @hard_iface: the hard interface to check
582 * batadv_check_known_mac_addr() - warn about duplicate hard interface MAC
584 * @hard_iface: hard interface that was just added or had its MAC changed
586 * Iterate over all hard interfaces of the same mesh interface and emit a
587 * warning if another in-use interface shares the same MAC address as
612 * @mesh_iface: netdev struct of the mesh interface
647 * batadv_hardif_min_mtu() - Calculate maximum MTU for mesh interface
648 * @mesh_iface: netdev struct of the mesh interface
650 * Return: MTU for the mesh-interface (limited by the minimal MTU of all active
689 /* the real mesh-interface MTU is computed by removing the payload in batadv_hardif_min_mtu()
696 * batadv_update_min_mtu() - Adjusts the MTU if a new interface with a smaller
698 * @mesh_iface: netdev struct of the mesh interface
723 * batadv_hardif_activate_interface() - move a hard interface to the active
725 * @hard_iface: the interface that has come up
727 * Activate an interface, select it as the primary interface if no
745 /* the first active interface becomes our primary interface or in batadv_hardif_activate_interface()
746 * the next active interface after the old primary interface was removed in batadv_hardif_activate_interface()
752 batadv_info(hard_iface->mesh_iface, "Interface activated: %s\n", in batadv_hardif_activate_interface()
765 * batadv_hardif_deactivate_interface() - move a hard interface to the
767 * @hard_iface: the interface that went down
781 batadv_info(hard_iface->mesh_iface, "Interface deactivated: %s\n", in batadv_hardif_deactivate_interface()
788 * batadv_hardif_enable_interface() - Enslave interface to mesh interface
789 * @net_dev: netdev struct of the interface to add to mesh interface
790 * @mesh_iface: netdev struct of the mesh interface
859 batadv_info(hard_iface->mesh_iface, "Adding interface: %s\n", in batadv_hardif_enable_interface()
865 …"The MTU of interface %s is too small (%i) to handle the transport of batman-adv packets. Packets … in batadv_hardif_enable_interface()
871 …"The MTU of interface %s is too small (%i) to handle the transport of batman-adv packets. If you e… in batadv_hardif_enable_interface()
881 "Not using interface %s (retrying later): interface not active\n", in batadv_hardif_enable_interface()
899 * batadv_hardif_disable_interface() - Remove hard interface from mesh interface
900 * @hard_iface: hard interface to be removed
914 batadv_info(hard_iface->mesh_iface, "Removing interface: %s\n", in batadv_hardif_disable_interface()
940 /* nobody uses this mesh interface anymore */ in batadv_hardif_disable_interface()