Home
last modified time | relevance | path

Searched refs:algo_name (Results 1 – 2 of 2) sorted by relevance

/net/batman-adv/
Dbat_algo.c121 char *algo_name = (char *)val; in batadv_param_set_ra() local
122 size_t name_len = strlen(algo_name); in batadv_param_set_ra()
124 if (name_len > 0 && algo_name[name_len - 1] == '\n') in batadv_param_set_ra()
125 algo_name[name_len - 1] = '\0'; in batadv_param_set_ra()
127 bat_algo_ops = batadv_algo_get(algo_name); in batadv_param_set_ra()
129 pr_err("Routing algorithm '%s' is not supported\n", algo_name); in batadv_param_set_ra()
133 return param_set_copystring(algo_name, kp); in batadv_param_set_ra()
Dsoft-interface.c1062 const char *algo_name; in batadv_softif_newlink() local
1066 algo_name = nla_data(data[IFLA_BATADV_ALGO_NAME]); in batadv_softif_newlink()
1067 err = batadv_algo_select(bat_priv, algo_name); in batadv_softif_newlink()