/** * enum batadv_hard_if_state - State of a hard interface
*/ enum batadv_hard_if_state { /** * @BATADV_IF_NOT_IN_USE: interface is not used as slave interface of a * batman-adv mesh interface
*/
BATADV_IF_NOT_IN_USE,
/** * @BATADV_IF_TO_BE_REMOVED: interface will be removed from mesh * interface
*/
BATADV_IF_TO_BE_REMOVED,
/** @BATADV_IF_INACTIVE: interface is deactivated */
BATADV_IF_INACTIVE,
/** @BATADV_IF_ACTIVE: interface is used */
BATADV_IF_ACTIVE,
/** @BATADV_IF_TO_BE_ACTIVATED: interface is getting activated */
BATADV_IF_TO_BE_ACTIVATED,
};
/** * enum batadv_hard_if_bcast - broadcast avoidance options
*/ enum batadv_hard_if_bcast { /** @BATADV_HARDIF_BCAST_OK: Do broadcast on according hard interface */
BATADV_HARDIF_BCAST_OK = 0,
/** * @BATADV_HARDIF_BCAST_NORECIPIENT: Broadcast not needed, there is no * recipient
*/
BATADV_HARDIF_BCAST_NORECIPIENT,
/** * @BATADV_HARDIF_BCAST_DUPFWD: There is just the neighbor we got it * from
*/
BATADV_HARDIF_BCAST_DUPFWD,
/** @BATADV_HARDIF_BCAST_DUPORIG: There is just the originator */
BATADV_HARDIF_BCAST_DUPORIG,
};
/** * batadv_hardif_put() - decrement the hard interface refcounter and possibly * release it * @hard_iface: the hard interface to free
*/ staticinlinevoid batadv_hardif_put(struct batadv_hard_iface *hard_iface)
{ if (!hard_iface) return;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.