Lines Matching refs:if_status
98 if (hard_iface->if_status == IF_ACTIVE && in hardif_get_active()
167 if ((hard_iface->if_status != IF_ACTIVE) && in check_known_mac_addr()
168 (hard_iface->if_status != IF_TO_BE_ACTIVATED)) in check_known_mac_addr()
198 if ((hard_iface->if_status != IF_ACTIVE) && in hardif_min_mtu()
199 (hard_iface->if_status != IF_TO_BE_ACTIVATED)) in hardif_min_mtu()
228 if (hard_iface->if_status != IF_INACTIVE) in hardif_activate_interface()
234 hard_iface->if_status = IF_TO_BE_ACTIVATED; in hardif_activate_interface()
256 if ((hard_iface->if_status != IF_ACTIVE) && in hardif_deactivate_interface()
257 (hard_iface->if_status != IF_TO_BE_ACTIVATED)) in hardif_deactivate_interface()
260 hard_iface->if_status = IF_INACTIVE; in hardif_deactivate_interface()
275 if (hard_iface->if_status != IF_NOT_IN_USE) in hardif_enable_interface()
323 hard_iface->if_status = IF_INACTIVE; in hardif_enable_interface()
373 if (hard_iface->if_status == IF_ACTIVE) in hardif_disable_interface()
376 if (hard_iface->if_status != IF_INACTIVE) in hardif_disable_interface()
399 hard_iface->if_status = IF_NOT_IN_USE; in hardif_disable_interface()
442 hard_iface->if_status = IF_NOT_IN_USE; in hardif_add_interface()
465 if (hard_iface->if_status != IF_NOT_IN_USE) in hardif_remove_interface()
468 if (hard_iface->if_status != IF_NOT_IN_USE) in hardif_remove_interface()
471 hard_iface->if_status = IF_TO_BE_REMOVED; in hardif_remove_interface()
521 if (hard_iface->if_status == IF_NOT_IN_USE) in hard_if_event()
584 if (hard_iface->if_status != IF_ACTIVE) in batman_skb_recv()