Lines Matching refs:prot
799 struct protocol *prot; in get_protocol() local
801 SLIST_FOREACH(prot, &test->protocols, protocols) { in get_protocol()
802 if (prot->id == prot_id) in get_protocol()
806 if (prot == NULL) in get_protocol()
809 return prot; in get_protocol()
815 struct protocol *prot = NULL; in set_protocol() local
817 SLIST_FOREACH(prot, &test->protocols, protocols) { in set_protocol()
818 if (prot->id == prot_id) { in set_protocol()
819 test->protocol = prot; in set_protocol()
2875 struct protocol *prot; in iperf_free_test() local
2949 prot = SLIST_FIRST(&test->protocols); in iperf_free_test()
2951 free(prot); in iperf_free_test()