Lines Matching defs:grlistp
244 * Free the group list pointed to by `grlistp'.
247 ipmp_freegrouplist(ipmp_grouplist_t *grlistp)
249 free(grlistp);
411 ipmp_grouplist_t *grlistp;
451 grlistp = (ipmp_grouplist_t *)value;
453 len < IPMP_GROUPLIST_SIZE(grlistp->gl_ngroup))
456 for (i = 0; i < grlistp->gl_ngroup; i++)
457 if (!hasnulbyte(grlistp->gl_groups[i], LIFGRNAMSIZ))
491 ipmp_grouplist_t *grlistp;
493 grlistp = malloc(IPMP_GROUPLIST_SIZE(ngroup));
494 if (grlistp == NULL)
497 grlistp->gl_sig = sig;
498 grlistp->gl_ngroup = ngroup;
500 (void) strlcpy(grlistp->gl_groups[i], groups[i], LIFGRNAMSIZ);
502 return (grlistp);
506 * Clone the group list named by `grlistp'. Returns a pointer to the clone on
510 ipmp_grouplist_clone(ipmp_grouplist_t *grlistp)
512 return (ipmp_grouplist_create(grlistp->gl_sig, grlistp->gl_ngroup,
513 grlistp->gl_groups));