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
407 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device()
429 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
510 *ppa = 0; in open_dlpi_device()
524 u_int ppa; local
538 p->fd = open_dlpi_device(p->opt.device, &ppa, p->errbuf);
573 retv = dl_doattach(p->fd, ppa, p->errbuf);
580 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
932 dl_doattach(int fd, int ppa, char *ebuf) argument
939 req.dl_ppa = ppa;
1040 u_int ppa; local
1043 fd = open_dlpi_device(name, &ppa, errbuf);
1286 return ("Specified PPA was invalid");
1290 * the PPA is just the unit number.
1292 return ("Specified PPA (device unit) was invalid");
1344 return ("Other streams for PPA in post-attached");
1598 * Under HP-UX 10 and HP-UX 11, we can ask for the ppa
1603 * Determine ppa number that specifies ifname.
1638 u_int *ppa, register char *ebuf) argument
1675 * length, and then issue another getmsg to get the actual PPA data.
1803 "can't find /dev/dlpi PPA for %s%u", device, unit);
1812 *ppa = ip->dl_ppa;
1820 * Under HP-UX 9, there is no good way to determine the ppa.
1831 /* Determine ppa number that specifies ifname */
1834 u_int *ppa, register char *ebuf) argument
1877 *ppa = ifnet.if_index;