Home
last modified time | relevance | path

Searched refs:pml (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/usr.sbin/rpcbind/
H A Drpcbind.c581 struct pmaplist *pml; in init_transport() local
589 pml = malloc(sizeof(*pml)); in init_transport()
590 if (pml == NULL) { in init_transport()
595 pml->pml_map.pm_prog = PMAPPROG; in init_transport()
596 pml->pml_map.pm_vers = PMAPVERS; in init_transport()
597 pml->pml_map.pm_port = PMAPPORT; in init_transport()
602 free(pml); in init_transport()
607 free(pml); in init_transport()
612 pml->pml_map.pm_prot = IPPROTO_TCP; in init_transport()
619 free(pml); in init_transport()
[all …]
H A Dpmap_svc.c154 register struct pmaplist *pml; in find_service_pmap() local
156 for (pml = list_pml; pml != NULL; pml = pml->pml_next) { in find_service_pmap()
157 if ((pml->pml_map.pm_prog != prog) || in find_service_pmap()
158 (pml->pml_map.pm_prot != prot)) in find_service_pmap()
160 hit = pml; in find_service_pmap()
161 if (pml->pml_map.pm_vers == vers) in find_service_pmap()
H A Drpcb_svc_com.c1442 struct pmaplist *pml; in add_pmaplist() local
1465 pml = malloc(sizeof(*pml)); in add_pmaplist()
1466 if (pml == NULL) { in add_pmaplist()
1470 pml->pml_map = pmap; in add_pmaplist()
1471 pml->pml_next = NULL; in add_pmaplist()
1473 list_pml = pml; in add_pmaplist()
1480 fnd->pml_next = pml; in add_pmaplist()
1491 struct pmaplist *pml; in del_pmaplist() local
1507 for (prevpml = NULL, pml = list_pml; pml; /* cstyle */) { in del_pmaplist()
1508 if ((pml->pml_map.pm_prog != arg->r_prog) || in del_pmaplist()
[all …]