Home
last modified time | relevance | path

Searched refs:grname (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c192 newgroup(char *grname, struct groupnode **tail) in newgroup() argument
198 newname = exmalloc(strlen(grname) + 1); in newgroup()
199 (void) strcpy(newname, grname); in newgroup()
209 newexport(char *grname, struct groupnode *grplist, struct exportnode **tail) in newexport() argument
215 newname = exmalloc(strlen(grname) + 1); in newexport()
216 (void) strcpy(newname, grname); in newexport()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ng.c84 char *grname; member
160 strcmp(group, pvt->grouphead.grname)) { in ng_rewind()
168 if (!(pvt->grouphead.grname = strdup(group))) in ng_rewind()
250 if (pvt->grouphead.grname) { in freelists()
251 free(pvt->grouphead.grname); in freelists()
252 pvt->grouphead.grname = NULL; in freelists()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c206 static int create_ipmp(const char *grname, int af,
2092 setifgroupname(char *grname, int64_t param) in setifgroupname() argument
2102 grname, name); in setifgroupname()
2106 (void) strlcpy(lifrl.lifr_groupname, grname, LIFGRNAMSIZ); in setifgroupname()
2115 if (create_ipmp(grname, af, NULL, _B_TRUE) == -1) { in setifgroupname()
2119 Perror2(grname, "cannot create IPMP group"); in setifgroupname()
2135 (void) strlcpy(lifrl.lifr_groupname, grname, in setifgroupname()
2149 (void) strlcpy(lifgr.gi_grname, grname, LIFGRNAMSIZ); in setifgroupname()
2154 Perror2(grname, "SIOCGLIFGROUPINFO"); in setifgroupname()
2159 if (create_ipmp(grname, af, lifgr.gi_grifname, in setifgroupname()
[all …]
/titanic_41/usr/src/lib/libipmp/common/
H A Dipmp_query.c355 ipmp_getaddrinfo(ipmp_handle_t handle, const char *grname, in ipmp_getaddrinfo() argument
364 adinfop = ipmp_snap_getaddrinfo(statep->st_snap, grname, addrp); in ipmp_getaddrinfo()
372 retval = ipmp_sendquery(statep, IPMP_ADDRINFO, grname, addrp, &end); in ipmp_getaddrinfo()
976 ipmp_snap_getaddrinfo(ipmp_snap_t *snap, const char *grname, in ipmp_snap_getaddrinfo() argument
982 if (strcmp(grname, adlp->adl_adinfop->ad_group) == 0 && in ipmp_snap_getaddrinfo()
/titanic_41/usr/src/cmd/svc/shell/
H A Dnet_include.sh276 read keyword grname || {
280 group="$grname"
/titanic_41/usr/src/uts/common/inet/ip/
H A Dipmp.c125 ipmp_grp_create(const char *grname, phyint_t *phyi) in ipmp_grp_create() argument
136 (void) strlcpy(grp->gr_name, grname, sizeof (grp->gr_name)); in ipmp_grp_create()
137 (void) strlcpy(grp->gr_ifname, grname, sizeof (grp->gr_ifname)); in ipmp_grp_create()
277 ipmp_grp_lookup(const char *grname, ip_stack_t *ipst) in ipmp_grp_lookup() argument
283 if (mod_hash_find(ipst->ips_ipmp_grp_hash, (mod_hash_key_t)grname, in ipmp_grp_lookup()
372 ipmp_grp_rename(ipmp_grp_t *grp, const char *grname) in ipmp_grp_rename() argument
379 if (grname[0] == '\0') in ipmp_grp_rename()
382 if (mod_hash_find(ipst->ips_ipmp_grp_hash, (mod_hash_key_t)grname, in ipmp_grp_rename()
394 (void) strlcpy(grp->gr_name, grname, sizeof (grp->gr_name)); in ipmp_grp_rename()
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_if.c444 const char *grname, uint32_t ipadm_flags) in i_ipadm_create_ipmp() argument
472 if (strcmp(lifr.lifr_name, grname) != 0) { in i_ipadm_create_ipmp()
473 (void) strlcpy(lifr.lifr_groupname, grname, LIFGRNAMSIZ); in i_ipadm_create_ipmp()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c3176 getgroupinfo(const char *grname, ipmp_groupinfo_t **grinfopp) in getgroupinfo() argument
3188 pg = phyint_group_lookup(grname); in getgroupinfo()
3224 (void) strlcpy(lifgr.gi_grname, grname, LIFGRNAMSIZ); in getgroupinfo()
3369 getgraddrinfo(const char *grname, struct sockaddr_storage *ssp, in getgraddrinfo() argument
3379 if ((pg = phyint_group_lookup(grname)) == NULL) in getgraddrinfo()
H A Dmpd_main.c1703 char grname[LIFGRNAMSIZ]; in ire_process_v6() local
1738 strlcpy(grname, lifr.lifr_groupname, LIFGRNAMSIZ) == 0) { in ire_process_v6()
1755 strcmp(lifr.lifr_groupname, grname) == 0) { in ire_process_v6()