Lines Matching full:ppa
121 * HP-UX has a /dev/dlpi device; you open it and set the PPA of the actual
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;
1007 u_int ppa; local
1010 fd = open_dlpi_device(name, &ppa, errbuf);
1250 return ("Specified PPA was invalid");
1254 * the PPA is just the unit number.
1256 return ("Specified PPA (device unit) was invalid");
1308 return ("Other streams for PPA in post-attached");
1562 * Under HP-UX 10 and HP-UX 11, we can ask for the ppa
1567 * Determine ppa number that specifies ifname.
1602 u_int *ppa, register char *ebuf) argument
1639 * length, and then issue another getmsg to get the actual PPA data.
1767 "can't find /dev/dlpi PPA for %s%u", device, unit);
1776 *ppa = ip->dl_ppa;
1784 * Under HP-UX 9, there is no good way to determine the ppa.
1795 /* Determine ppa number that specifies ifname */
1798 u_int *ppa, register char *ebuf) argument
1841 *ppa = ifnet.if_index;