Lines Matching defs:iflistp
157 ipmp_iflist_t *iflistp;
160 retval = ipmp_readinfo(statep, IPMP_IFLIST, (void **)&iflistp, endtp);
166 ipmp_freeiflist(iflistp);
170 grinfop->gr_iflistp = iflistp;
424 ipmp_iflist_t *iflistp;
445 iflistp = (ipmp_iflist_t *)value;
447 len < IPMP_IFLIST_SIZE(iflistp->il_nif))
450 for (i = 0; i < iflistp->il_nif; i++)
451 if (!hasnulbyte(iflistp->il_ifs[i], LIFNAMSIZ))
584 ipmp_iflist_t *iflistp;
586 iflistp = malloc(IPMP_IFLIST_SIZE(nif));
587 if (iflistp == NULL)
590 iflistp->il_nif = nif;
592 (void) strlcpy(iflistp->il_ifs[i], ifs[i], LIFNAMSIZ);
594 return (iflistp);
606 * Free the interface list pointed to by `iflistp'.
609 ipmp_freeiflist(ipmp_iflist_t *iflistp)
611 free(iflistp);