Lines Matching refs:dname
340 char dname[100]; in open_dlpi_device() local
353 strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
355 strlcpy(dname, cp + 1, sizeof(dname)); in open_dlpi_device()
361 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
392 *ppa = get_dlpi_ppa(fd, dname, *ppa, errbuf); in open_dlpi_device()
405 strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
407 pcap_snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX, in open_dlpi_device()
414 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
422 strlcpy(dname2, dname, sizeof(dname)); in open_dlpi_device()
426 if ((fd = open(dname, O_RDWR)) < 0) { in open_dlpi_device()
432 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname, in open_dlpi_device()
1561 char dname[100]; local
1692 pcap_snprintf(dname, sizeof(dname), "/dev/%s%d", device, unit);
1693 if (stat(dname, &statbuf) < 0) {
1695 dname, pcap_strerror(errno));