Lines Matching full:ppa
127 * HP-UX has a /dev/dlpi device; you open it and set the PPA of the actual
348 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()
491 *ppa = 0; in open_dlpi_device()
505 u_int ppa; local
519 p->fd = open_dlpi_device(p->opt.device, &ppa, p->errbuf);
554 retv = dl_doattach(p->fd, ppa, p->errbuf);
561 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
913 dl_doattach(int fd, int ppa, char *ebuf) argument
920 req.dl_ppa = ppa;
1013 u_int ppa; local
1016 fd = open_dlpi_device(name, &ppa, errbuf);
1256 return ("Specified PPA was invalid");
1260 * the PPA is just the unit number.
1262 return ("Specified PPA (device unit) was invalid");
1314 return ("Other streams for PPA in post-attached");
1568 * Under HP-UX 10 and HP-UX 11, we can ask for the ppa
1573 * Determine ppa number that specifies ifname.
1608 u_int *ppa, register char *ebuf) argument
1645 * length, and then issue another getmsg to get the actual PPA data.
1773 "can't find /dev/dlpi PPA for %s%u", device, unit);
1782 *ppa = ip->dl_ppa;
1790 * Under HP-UX 9, there is no good way to determine the ppa.
1801 /* Determine ppa number that specifies ifname */
1804 u_int *ppa, register char *ebuf) argument
1847 *ppa = ifnet.if_index;