Searched refs:algo_ops (Results 1 – 13 of 13) sorted by relevance
/net/batman-adv/ |
D | hard-interface.c | 491 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()
|
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 | 96 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()
|
D | originator.c | 568 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()
|
D | soft-interface.c | 802 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()
|
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() 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()
|
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 | 1693 struct batadv_algo_ops *algo_ops; member
|
D | bat_v_ogm.c | 998 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 | 1738 if (bat_priv->algo_ops->iface.enable != batadv_iv_ogm_iface_enable) in batadv_iv_ogm_receive()
|
D | translation-table.c | 1757 struct batadv_algo_ops *bao = bat_priv->algo_ops; in batadv_transtable_best_orig()
|