Lines Matching full:ppa
119 * HP-UX has a /dev/dlpi device; you open it and set the PPA of the actual
340 open_dlpi_device(const char *name, u_int *ppa, char *errbuf) in open_dlpi_device() argument
405 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device()
427 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
508 *ppa = 0; in open_dlpi_device()
522 u_int ppa; local
536 p->fd = open_dlpi_device(p->opt.device, &ppa, p->errbuf);
571 retv = dl_doattach(p->fd, ppa, p->errbuf);
578 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
930 dl_doattach(int fd, int ppa, char *ebuf) argument
937 req.dl_ppa = ppa;
1038 u_int ppa; local
1041 fd = open_dlpi_device(name, &ppa, errbuf);
1284 return ("Specified PPA was invalid");
1288 * the PPA is just the unit number.
1290 return ("Specified PPA (device unit) was invalid");
1342 return ("Other streams for PPA in post-attached");
1596 * Under HP-UX 10 and HP-UX 11, we can ask for the ppa
1601 * Determine ppa number that specifies ifname.
1636 u_int *ppa, register char *ebuf) argument
1673 * length, and then issue another getmsg to get the actual PPA data.
1801 "can't find /dev/dlpi PPA for %s%u", device, unit);
1810 *ppa = ip->dl_ppa;
1818 * Under HP-UX 9, there is no good way to determine the ppa.
1829 /* Determine ppa number that specifies ifname */
1832 u_int *ppa, register char *ebuf) argument
1875 *ppa = ifnet.if_index;