Lines Matching defs:linkname
159 * Given a `linkname' of the form drv(ppa), parse it into `driver' and `ppa'.
165 * linkname.
171 char linkname[MAXLINKNAMELEN];
178 len = strlcpy(linkname, linknamep, MAXLINKNAMELEN);
183 if (getppa(linkname, len, &lppa) != 0)
186 /* strip the ppa off of the linkname, if present */
187 for (tp = &linkname[len - 1]; tp >= linkname && isdigit(*tp); tp--)
197 if (!isalpha(linkname[0]))
199 for (tp = linkname + 1; *tp != '\0'; tp++) {
205 (void) strlcpy(driver, linkname, dsize);
524 const char *linkname;
533 linkname = ifname;
539 ret = dlpi_open(linkname, &dh_ip, dlpi_flags);
590 ret = dlpi_open(linkname, &dh_arp, dlpi_flags);
1032 solaris_create_vnic(const char *linkname, const char *vnicname)
1053 /* linkname is 'const char *' and ddlv_sval is 'char *' */
1054 name_val.ddlv_sval = strdupa(linkname);
1084 solaris_modify_vnic(const char *linkname, const char *vnicname)
1114 strdupa(linkname), NULL, 0)) != 0) {
1300 char *linkname, size_t size)
1315 "linkname", &dlval);
1320 (void) strlcpy(linkname, dlval->ddlv_sval, size);
2273 solaris_add_flow(void *cookie, const char *linkname,
2289 "name", linkname);
2330 flowname, linkname, derrp->dde_errmsg);
2393 solaris_remove_flow(const char *linkname, const char *flowname)
2404 "name", linkname);
3689 char linkname[MAXLINKNAMELEN];
3745 err = solaris_flowinfo2linkname(flowinfo, linkname,
3752 1, "name", linkname);
3768 linkname, props[0], derrp->dde_errmsg);
3844 * Given a linkname that can be specified using a zonename prefix retrieve
3845 * the optional linkname and/or zone ID value. If no zonename prefix was
3846 * specified we set the optional linkname and set optional zone ID return
3872 /* If there are no other strings, return given name as linkname */