Lines Matching defs:hwtype
425 * get_hw_type(): interpret ",hwtype" in the input string, as part of a DUID.
426 * The hwtype string is optional, and must be 0-65535 if
438 ulong_t hwtype;
448 hwtype = strtoul(str, strp, 0);
449 if (errno != 0 || *strp == str || hwtype > 65535) {
453 return ((int)hwtype);
472 get_mac_addr(const char *str, int *ierrnop, uint16_t *hwret, int hwtype,
520 if (hwtype == -1)
521 hwtype = dlpi_arptype(dlinfo.di_mactype);
524 if (hwtype == -1)
526 *hwret = htons(hwtype);
767 int hwtype;
771 if ((hwtype = get_hw_type(&currp, ierrnop)) == -2) {
792 &dllt.dllt_hwtype, hwtype,
839 int hwtype;
842 if ((hwtype = get_hw_type(&currp, ierrnop)) == -2) {
847 hwtype, optstart + sizeof (dll));