Lines Matching defs:algo
112 /* Find algo with specified name and set it to default. */
132 struct cc_algo *algo;
140 STAILQ_FOREACH(algo, &cc_list, entries) {
158 STAILQ_FOREACH(algo, &cc_list, entries) {
159 err = sbuf_printf(s, first ? "%s" : ", %s", algo->name);
179 * Reset the default CC algo to NewReno for any netstack which is using the algo
225 /* Remove algo from cc_list so that new connections can't use it. */
285 struct cc_algo *algo;
289 algo = (struct cc_algo *)data;
293 if (algo->mod_init != NULL)
294 err = algo->mod_init();
296 err = cc_register_algo(algo);
302 err = cc_deregister_algo(algo);
303 if (!err && algo->mod_destroy != NULL)
304 algo->mod_destroy();