Home
last modified time | relevance | path

Searched refs:algo_ops (Results 1 – 13 of 13) sorted by relevance

/net/batman-adv/
Dhard-interface.c491 bat_priv->algo_ops->iface.primary_set(new_hard_iface); in batadv_primary_if_select()
663 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hardif_activate_interface()
678 if (bat_priv->algo_ops->iface.activate) in batadv_hardif_activate_interface()
679 bat_priv->algo_ops->iface.activate(hard_iface); in batadv_hardif_activate_interface()
737 ret = bat_priv->algo_ops->iface.enable(hard_iface); in batadv_hardif_enable_interface()
775 if (bat_priv->algo_ops->iface.enabled) in batadv_hardif_enable_interface()
776 bat_priv->algo_ops->iface.enabled(hard_iface); in batadv_hardif_enable_interface()
846 bat_priv->algo_ops->iface.disable(hard_iface); in batadv_hardif_disable_interface()
999 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hard_if_event()
Dgateway_client.c209 if (!bat_priv->algo_ops->gw.get_best_gw_node) in batadv_gw_election()
221 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
295 if (!bat_priv->algo_ops->gw.is_eligible) in batadv_gw_check_election()
306 if (!bat_priv->algo_ops->gw.is_eligible(bat_priv, curr_gw_orig, in batadv_gw_check_election()
530 if (!bat_priv->algo_ops->gw.dump) { in batadv_gw_dump()
535 bat_priv->algo_ops->gw.dump(msg, cb, bat_priv); in batadv_gw_dump()
Dgateway_common.c96 if (bat_priv->algo_ops->gw.init_sel_class) in batadv_gw_init()
97 bat_priv->algo_ops->gw.init_sel_class(bat_priv); in batadv_gw_init()
Doriginator.c568 if (bat_priv->algo_ops->neigh.hardif_init) in batadv_hardif_neigh_create()
569 bat_priv->algo_ops->neigh.hardif_init(hardif_neigh); in batadv_hardif_neigh_create()
776 if (!bat_priv->algo_ops->neigh.dump) { in batadv_hardif_neigh_dump()
781 bat_priv->algo_ops->neigh.dump(msg, cb, bat_priv, hardif); in batadv_hardif_neigh_dump()
1165 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_best_neighbor()
1362 if (!bat_priv->algo_ops->orig.dump) { in batadv_orig_dump()
1367 bat_priv->algo_ops->orig.dump(msg, cb, bat_priv, hardif); in batadv_orig_dump()
Dsoft-interface.c802 if (!bat_priv->algo_ops) { in batadv_softif_init_late()
1033 struct batadv_algo_ops *algo_ops; in batadv_softif_validate() local
1039 algo_ops = batadv_algo_get(nla_data(data[IFLA_BATADV_ALGO_NAME])); in batadv_softif_validate()
1040 if (!algo_ops) in batadv_softif_validate()
Dnetlink.c244 bat_priv->algo_ops->name) || in batadv_netlink_mesh_fill()
322 if (bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_mesh_fill()
323 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_mesh_fill()
548 bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_set_mesh()
549 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_set_mesh()
554 u32 sel_class_max = bat_priv->algo_ops->gw.sel_class_max; in batadv_netlink_set_mesh()
Dbat_algo.c113 bat_priv->algo_ops = bat_algo_ops; in batadv_algo_select()
Dbat_v_elp.c523 if (strcmp(bat_priv->algo_ops->name, "BATMAN_V") != 0) in batadv_v_elp_packet_recv()
Dtypes.h1693 struct batadv_algo_ops *algo_ops; member
Dbat_v_ogm.c998 if (strcmp(bat_priv->algo_ops->name, "BATMAN_V") != 0) in batadv_v_ogm_packet_recv()
Drouting.c526 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_router()
Dbat_iv_ogm.c1738 if (bat_priv->algo_ops->iface.enable != batadv_iv_ogm_iface_enable) in batadv_iv_ogm_receive()
Dtranslation-table.c1757 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_transtable_best_orig()