Searched refs:algo_ops (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/net/batman-adv/ |
D | hard-interface.c | 492 bat_priv->algo_ops->iface.primary_set(new_hard_iface); in batadv_primary_if_select() 652 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hardif_activate_interface() 667 if (bat_priv->algo_ops->iface.activate) in batadv_hardif_activate_interface() 668 bat_priv->algo_ops->iface.activate(hard_iface); in batadv_hardif_activate_interface() 721 ret = bat_priv->algo_ops->iface.enable(hard_iface); in batadv_hardif_enable_interface() 759 if (bat_priv->algo_ops->iface.enabled) in batadv_hardif_enable_interface() 760 bat_priv->algo_ops->iface.enabled(hard_iface); in batadv_hardif_enable_interface() 830 bat_priv->algo_ops->iface.disable(hard_iface); in batadv_hardif_disable_interface() 983 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hard_if_event()
|
D | gateway_client.c | 209 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()
|
D | gateway_common.c | 256 if (bat_priv->algo_ops->gw.init_sel_class) in batadv_gw_init() 257 bat_priv->algo_ops->gw.init_sel_class(bat_priv); in batadv_gw_init()
|
D | originator.c | 541 if (bat_priv->algo_ops->neigh.hardif_init) in batadv_hardif_neigh_create() 542 bat_priv->algo_ops->neigh.hardif_init(hardif_neigh); in batadv_hardif_neigh_create() 749 if (!bat_priv->algo_ops->neigh.dump) { in batadv_hardif_neigh_dump() 754 bat_priv->algo_ops->neigh.dump(msg, cb, bat_priv, hardif); in batadv_hardif_neigh_dump() 1138 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_best_neighbor() 1333 if (!bat_priv->algo_ops->orig.dump) { in batadv_orig_dump() 1338 bat_priv->algo_ops->orig.dump(msg, cb, bat_priv, hardif); in batadv_orig_dump()
|
D | soft-interface.c | 801 if (!bat_priv->algo_ops) { in batadv_softif_init_late() 1032 struct batadv_algo_ops *algo_ops; in batadv_softif_validate() local 1038 algo_ops = batadv_algo_get(nla_data(data[IFLA_BATADV_ALGO_NAME])); in batadv_softif_validate() 1039 if (!algo_ops) in batadv_softif_validate()
|
D | netlink.c | 244 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() 545 bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_set_mesh() 546 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_set_mesh() 557 if (!bat_priv->algo_ops->gw.store_sel_class) in batadv_netlink_set_mesh()
|
D | bat_algo.c | 113 bat_priv->algo_ops = bat_algo_ops; in batadv_algo_select()
|
D | bat_v_elp.c | 523 if (strcmp(bat_priv->algo_ops->name, "BATMAN_V") != 0) in batadv_v_elp_packet_recv()
|
D | types.h | 1687 struct batadv_algo_ops *algo_ops; member
|
D | bat_v_ogm.c | 997 if (strcmp(bat_priv->algo_ops->name, "BATMAN_V") != 0) in batadv_v_ogm_packet_recv()
|
D | routing.c | 526 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_router()
|
D | bat_iv_ogm.c | 1739 if (bat_priv->algo_ops->iface.enable != batadv_iv_ogm_iface_enable) in batadv_iv_ogm_receive()
|
D | translation-table.c | 1758 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_transtable_best_orig()
|