Lines Matching defs:grname
204 static int create_ipmp(const char *grname, int af,
2085 setifgroupname(char *grname, int64_t param)
2095 grname, name);
2099 (void) strlcpy(lifrl.lifr_groupname, grname, LIFGRNAMSIZ);
2108 if (create_ipmp(grname, af, NULL, _B_TRUE) == -1) {
2112 Perror2(grname, "cannot create IPMP group");
2128 (void) strlcpy(lifrl.lifr_groupname, grname,
2142 (void) strlcpy(lifgr.gi_grname, grname, LIFGRNAMSIZ);
2147 Perror2(grname, "SIOCGLIFGROUPINFO");
2152 if (create_ipmp(grname, af, lifgr.gi_grifname,
2157 Perror2(grname, "cannot configure IPMP group");
2171 Perror2(grname, "cannot get address list");
3682 * Create an IPMP group `grname' with address family `af'. If `ifname' is
3689 create_ipmp(const char *grname, int af, const char *ifname, boolean_t implicit)
3696 (void) printf("create_ipmp: ifname %s grname %s af %d\n",
3697 ifname != NULL ? ifname : "NULL", grname, af);
3711 "%s: %s\n", grname, ipadm_status2str(istatus));
3730 if (strcmp(lifr.lifr_name, grname) != 0) {
3731 (void) strlcpy(lifr.lifr_groupname, grname, LIFGRNAMSIZ);