Lines Matching refs:typedname
414 /* new NCU name (and typedname) is the same as the old name */
951 char *typedname;
956 NWAM_NCU_TYPE_LINK, &typedname)) != NWAM_SUCCESS)
960 (void) strlcpy(ncuh->nwh_name, typedname, sizeof (ncuh->nwh_name));
961 free(typedname);
1014 char ifname[NWAM_MAX_NAME_LEN], *typedname = NULL;
1038 &typedname)) != NWAM_SUCCESS)
1040 (void) strlcpy(ncuh->nwh_name, typedname, sizeof (ncuh->nwh_name));
1041 free(typedname);
1576 char *typedname, *ncufile;
1608 if ((err = nwam_ncu_name_to_typed_name(name, type, &typedname))
1614 free(typedname);
1619 err = nwam_create(NWAM_OBJECT_TYPE_NCU, ncufile, typedname, ncuhp);
1620 free(typedname);
1736 /* Input name (bge0) may be a typedname (link:bge0) */
1743 * If a typedname was given, make sure it is the same as the
1848 nwam_ncu_typed_name_to_name(const char *typedname, nwam_ncu_type_t *typep,
1853 assert(typedname != NULL && namep != NULL);
1855 if (strncasecmp(typedname, NWAM_NCU_LINK_NAME_PRE,
1859 } else if (strncasecmp(typedname, NWAM_NCU_INTERFACE_NAME_PRE,
1867 *namep = strdup(typedname + strlen(prefixstr));
3166 char *typedname = NULL, *typedover, *cp, *copy = NULL;
3173 if (nwam_ncu_name_to_typed_name(name, type, &typedname) != NWAM_SUCCESS)
3176 (void) nwam_request_action(NWAM_OBJECT_TYPE_NCU, typedname, ncp,
3178 free(typedname);