Lines Matching refs:iflistp
158 ipmp_iflist_t *iflistp;
161 retval = ipmp_readinfo(statep, IPMP_IFLIST, (void **)&iflistp, endtp);
167 ipmp_freeiflist(iflistp);
171 grinfop->gr_iflistp = iflistp;
409 ipmp_iflist_t *iflistp;
430 iflistp = (ipmp_iflist_t *)value;
432 len < IPMP_IFLIST_SIZE(iflistp->il_nif))
435 for (i = 0; i < iflistp->il_nif; i++)
436 if (!hasnulbyte(iflistp->il_ifs[i], LIFNAMSIZ))
560 ipmp_iflist_t *iflistp;
562 iflistp = malloc(IPMP_IFLIST_SIZE(nif));
563 if (iflistp == NULL)
566 iflistp->il_nif = nif;
568 (void) strlcpy(iflistp->il_ifs[i], ifs[i], LIFNAMSIZ);
570 return (iflistp);
574 * Free the interface list pointed to by `iflistp'.
577 ipmp_freeiflist(ipmp_iflist_t *iflistp)
579 free(iflistp);