* @node: list node of the first entry to compare
* @data2: pointer to the second claims
*
- * Return: true if the claim have the same data, 0 otherwise
+ * Return: true if the claims have the same data, false otherwise
*/
static bool batadv_compare_claim(const struct hlist_node *node,
const void *data2)
* detect frame sent by bridge loop avoidance
* @mac: mac address to check
*
- * Return: true if the it looks like a loop detect frame
+ * Return: true if it looks like a loop detect frame
* (mac starts with BA:BE), false otherwise
*/
static inline bool batadv_bla_is_loopdetect_mac(const uint8_t *mac)
#ifdef CONFIG_BATMAN_ADV_BLA
+/**
+ * enum batadv_bla_backbone_gw_state - state of a bridge loop avoidance
+ * backbone gateway
+ */
enum batadv_bla_backbone_gw_state {
/**
* @BATADV_BLA_BACKBONE_GW_STOPPED: backbone gw is being removed
- * and it must not longer work on requests
+ * and it must no longer work on requests
*/
BATADV_BLA_BACKBONE_GW_STOPPED,
/**
* @BATADV_BLA_BACKBONE_GW_UNSYNCED: backbone was detected out
- * of sync and a request was send. No traffic is forwarded until the
+ * of sync and a request was sent. No traffic is forwarded until the
* situation is resolved
*/
BATADV_BLA_BACKBONE_GW_UNSYNCED,
/**
- * @BATADV_BLA_BACKBONE_GW_SYNCED: backbone is consider to be in
+ * @BATADV_BLA_BACKBONE_GW_SYNCED: backbone is considered to be in
* sync. traffic can be forwarded
*/
BATADV_BLA_BACKBONE_GW_SYNCED,