Lines Matching defs:algo
110 /* Find algo with specified name and set it to default. */
130 struct cc_algo *algo;
138 STAILQ_FOREACH(algo, &cc_list, entries) {
156 STAILQ_FOREACH(algo, &cc_list, entries) {
157 err = sbuf_printf(s, first ? "%s" : ", %s", algo->name);
177 * Reset the default CC algo to NewReno for any netstack which is using the algo
223 /* Remove algo from cc_list so that new connections can't use it. */
283 struct cc_algo *algo;
287 algo = (struct cc_algo *)data;
291 if (algo->mod_init != NULL)
292 err = algo->mod_init();
294 err = cc_register_algo(algo);
300 err = cc_deregister_algo(algo);
301 if (!err && algo->mod_destroy != NULL)
302 algo->mod_destroy();