Lines Matching defs:grname
118 * Create an IPMP group named `grname', associate it with IPMP phyint `phyi',
120 * Caller must ensure `grname' is not yet in the hash. Assumes that the IPMP
125 ipmp_grp_create(const char *grname, phyint_t *phyi)
136 (void) strlcpy(grp->gr_name, grname, sizeof (grp->gr_name));
137 (void) strlcpy(grp->gr_ifname, grname, sizeof (grp->gr_ifname));
273 * Look up an IPMP group named `grname' on IP stack `ipst'. Return NULL if it
277 ipmp_grp_lookup(const char *grname, ip_stack_t *ipst)
283 if (mod_hash_find(ipst->ips_ipmp_grp_hash, (mod_hash_key_t)grname,
368 * Attempt to rename `grp' to new name `grname'. Return an errno if the new
372 ipmp_grp_rename(ipmp_grp_t *grp, const char *grname)
379 if (grname[0] == '\0')
382 if (mod_hash_find(ipst->ips_ipmp_grp_hash, (mod_hash_key_t)grname,
394 (void) strlcpy(grp->gr_name, grname, sizeof (grp->gr_name));