Home
last modified time | relevance | path

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

/linux-6.12.1/net/batman-adv/
Dhard-interface.c493 bat_priv->algo_ops->iface.primary_set(new_hard_iface); in batadv_primary_if_select()
665 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hardif_activate_interface()
680 if (bat_priv->algo_ops->iface.activate) in batadv_hardif_activate_interface()
681 bat_priv->algo_ops->iface.activate(hard_iface); in batadv_hardif_activate_interface()
739 ret = bat_priv->algo_ops->iface.enable(hard_iface); in batadv_hardif_enable_interface()
777 if (bat_priv->algo_ops->iface.enabled) in batadv_hardif_enable_interface()
778 bat_priv->algo_ops->iface.enabled(hard_iface); in batadv_hardif_enable_interface()
848 bat_priv->algo_ops->iface.disable(hard_iface); in batadv_hardif_disable_interface()
1001 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hard_if_event()
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()
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()
Doriginator.c595 if (bat_priv->algo_ops->neigh.hardif_init) in batadv_hardif_neigh_create()
596 bat_priv->algo_ops->neigh.hardif_init(hardif_neigh); in batadv_hardif_neigh_create()
803 if (!bat_priv->algo_ops->neigh.dump) { in batadv_hardif_neigh_dump()
808 bat_priv->algo_ops->neigh.dump(msg, cb, bat_priv, hardif); in batadv_hardif_neigh_dump()
1193 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_best_neighbor()
1390 if (!bat_priv->algo_ops->orig.dump) { in batadv_orig_dump()
1395 bat_priv->algo_ops->orig.dump(msg, cb, bat_priv, hardif); in batadv_orig_dump()
Dsoft-interface.c806 if (!bat_priv->algo_ops) { in batadv_softif_init_late()
1050 struct batadv_algo_ops *algo_ops; in batadv_softif_validate() local
1056 algo_ops = batadv_algo_get(nla_data(data[IFLA_BATADV_ALGO_NAME])); in batadv_softif_validate()
1057 if (!algo_ops) in batadv_softif_validate()
Dnetlink.c242 bat_priv->algo_ops->name) || in batadv_netlink_mesh_fill()
320 if (bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_mesh_fill()
321 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_mesh_fill()
546 bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_set_mesh()
547 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_set_mesh()
552 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.h1763 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()