Searched refs:algo_ops (Results 1 – 13 of 13) sorted by relevance
/net/batman-adv/ |
D | originator.c | 542 if (bat_priv->algo_ops->neigh.hardif_init) in batadv_hardif_neigh_create() 543 bat_priv->algo_ops->neigh.hardif_init(hardif_neigh); in batadv_hardif_neigh_create() 717 bat_priv->algo_ops->name); in batadv_hardif_neigh_seq_print_text() 721 if (!bat_priv->algo_ops->neigh.print) { in batadv_hardif_neigh_seq_print_text() 727 bat_priv->algo_ops->neigh.print(bat_priv, seq); in batadv_hardif_neigh_seq_print_text() 787 if (!bat_priv->algo_ops->neigh.dump) { in batadv_hardif_neigh_dump() 792 bat_priv->algo_ops->neigh.dump(msg, cb, bat_priv, hardif); in batadv_hardif_neigh_dump() 1182 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_best_neighbor() 1347 bat_priv->algo_ops->name); in batadv_orig_seq_print_text() 1351 if (!bat_priv->algo_ops->orig.print) { in batadv_orig_seq_print_text() [all …]
|
D | gateway_client.c | 211 if (!bat_priv->algo_ops->gw.get_best_gw_node) in batadv_gw_election() 223 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election() 301 if (!bat_priv->algo_ops->gw.is_eligible) in batadv_gw_check_election() 312 if (!bat_priv->algo_ops->gw.is_eligible(bat_priv, curr_gw_orig, in batadv_gw_check_election() 526 bat_priv->algo_ops->name); in batadv_gw_client_seq_print_text() 530 if (!bat_priv->algo_ops->gw.print) { in batadv_gw_client_seq_print_text() 536 bat_priv->algo_ops->gw.print(bat_priv, seq); in batadv_gw_client_seq_print_text() 577 if (!bat_priv->algo_ops->gw.dump) { in batadv_gw_dump() 582 bat_priv->algo_ops->gw.dump(msg, cb, bat_priv); in batadv_gw_dump()
|
D | sysfs.c | 443 return sprintf(buff, "%s\n", bat_priv->algo_ops->name); in batadv_show_bat_algo() 464 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_show_gw_mode() 465 !bat_priv->algo_ops->gw.is_eligible) in batadv_show_gw_mode() 500 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_store_gw_mode() 501 !bat_priv->algo_ops->gw.is_eligible) in batadv_store_gw_mode() 576 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_show_gw_sel_class() 577 !bat_priv->algo_ops->gw.is_eligible) in batadv_show_gw_sel_class() 580 if (bat_priv->algo_ops->gw.show_sel_class) in batadv_show_gw_sel_class() 581 return bat_priv->algo_ops->gw.show_sel_class(bat_priv, buff); in batadv_show_gw_sel_class() 598 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_store_gw_sel_class() [all …]
|
D | hard-interface.c | 493 bat_priv->algo_ops->iface.primary_set(new_hard_iface); in batadv_primary_if_select() 666 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hardif_activate_interface() 681 if (bat_priv->algo_ops->iface.activate) in batadv_hardif_activate_interface() 682 bat_priv->algo_ops->iface.activate(hard_iface); in batadv_hardif_activate_interface() 788 ret = bat_priv->algo_ops->iface.enable(hard_iface); in batadv_hardif_enable_interface() 826 if (bat_priv->algo_ops->iface.enabled) in batadv_hardif_enable_interface() 827 bat_priv->algo_ops->iface.enabled(hard_iface); in batadv_hardif_enable_interface() 902 bat_priv->algo_ops->iface.disable(hard_iface); in batadv_hardif_disable_interface() 1076 bat_priv->algo_ops->iface.update_mac(hard_iface); in batadv_hard_if_event()
|
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 | netlink.c | 243 bat_priv->algo_ops->name) || in batadv_netlink_mesh_fill() 321 if (bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_mesh_fill() 322 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_mesh_fill() 549 bat_priv->algo_ops->gw.get_best_gw_node && in batadv_netlink_set_mesh() 550 bat_priv->algo_ops->gw.is_eligible) { in batadv_netlink_set_mesh() 561 if (!bat_priv->algo_ops->gw.store_sel_class) in batadv_netlink_set_mesh()
|
D | bat_algo.c | 108 bat_priv->algo_ops = bat_algo_ops; in batadv_algo_select()
|
D | bat_v_elp.c | 527 if (strcmp(bat_priv->algo_ops->name, "BATMAN_V") != 0) in batadv_v_elp_packet_recv()
|
D | types.h | 1721 struct batadv_algo_ops *algo_ops; member
|
D | bat_v_ogm.c | 1011 if (strcmp(bat_priv->algo_ops->name, "BATMAN_V") != 0) in batadv_v_ogm_packet_recv()
|
D | routing.c | 544 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_find_router()
|
D | bat_iv_ogm.c | 1752 if (bat_priv->algo_ops->iface.enable != batadv_iv_ogm_iface_enable) in batadv_iv_ogm_receive()
|
D | translation-table.c | 1846 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_transtable_best_orig()
|