Lines Matching refs:dname
345 char dname[100]; in open_dlpi_device() local
360 pcap_strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
362 pcap_strlcpy(dname, cp + 1, sizeof(dname)); in open_dlpi_device()
368 cp = split_dname(dname, &unit, errbuf); in open_dlpi_device()
399 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device()
412 pcap_strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
414 snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX, in open_dlpi_device()
421 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
429 pcap_strlcpy(dname2, dname, sizeof(dname)); in open_dlpi_device()
433 if ((fd = open(dname, O_RDWR)) < 0) { in open_dlpi_device()
440 errno, "%s", dname); in open_dlpi_device()
1607 char dname[100]; local
1747 snprintf(dname, sizeof(dname), "/dev/%s%u", device, unit);
1748 if (stat(dname, &statbuf) < 0) {
1750 errno, "stat: %s", dname);