D | pcap-dlpi.c | 342 open_dlpi_device(const char *name, u_int *ppa, char *errbuf) in open_dlpi_device() argument 399 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device() 421 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device() 485 *ppa = 0; in open_dlpi_device() 499 u_int ppa; local 513 p->fd = open_dlpi_device(p->opt.device, &ppa, p->errbuf); 548 retv = dl_doattach(p->fd, ppa, p->errbuf); 555 retv = dl_doattach(pd->send_fd, ppa, p->errbuf); 907 dl_doattach(int fd, int ppa, char *ebuf) argument 914 req.dl_ppa = ppa; [all …]
|