Lines Matching refs:grname
206 static int create_ipmp(const char *grname, int af,
2092 setifgroupname(char *grname, int64_t param)
2102 grname, name);
2106 (void) strlcpy(lifrl.lifr_groupname, grname, LIFGRNAMSIZ);
2115 if (create_ipmp(grname, af, NULL, _B_TRUE) == -1) {
2119 Perror2(grname, "cannot create IPMP group");
2135 (void) strlcpy(lifrl.lifr_groupname, grname,
2149 (void) strlcpy(lifgr.gi_grname, grname, LIFGRNAMSIZ);
2154 Perror2(grname, "SIOCGLIFGROUPINFO");
2159 if (create_ipmp(grname, af, lifgr.gi_grifname,
2164 Perror2(grname, "cannot configure IPMP group");
2178 Perror2(grname, "cannot get address list");
3689 * Create an IPMP group `grname' with address family `af'. If `ifname' is
3696 create_ipmp(const char *grname, int af, const char *ifname, boolean_t implicit)
3703 (void) printf("create_ipmp: ifname %s grname %s af %d\n",
3704 ifname != NULL ? ifname : "NULL", grname, af);
3718 "%s: %s\n", grname, ipadm_status2str(istatus));
3737 if (strcmp(lifr.lifr_name, grname) != 0) {
3738 (void) strlcpy(lifr.lifr_groupname, grname, LIFGRNAMSIZ);