Searched refs:ppa (Results 1 - 10 of 10) sorted by relevance

/external/netperf/
H A Dnettest_dlpi.h31 int ppa; /* which device do we wish to use? */ member in struct:dlpi_co_stream_request_struct
50 /* specified ppa? */
77 int ppa; /* which device do we wish to use? */ member in struct:dlpi_co_rr_request_struct
120 int ppa; /* which device do we wish to use? */ member in struct:dlpi_cl_stream_request_struct
166 int ppa; /* which device do we wish to use? */ member in struct:dlpi_cl_rr_request_struct
H A Dnettest_dlpi.c66 loc_ppa = 4, /* the ppa for the local interface, */
68 rem_ppa = 4, /* the ppa for the remote interface */
323 dlpi_co_stream_request->ppa = rem_ppa;
783 dlpi_co_stream_request->ppa);
1220 dlpi_co_rr_request->ppa = rem_ppa;
1767 dlpi_cl_stream_request->ppa = rem_ppa;
2195 dlpi_cl_stream_request->ppa);
2605 dlpi_cl_rr_request->ppa = rem_ppa;
3140 dlpi_cl_rr_request->ppa);
3475 dlpi_co_rr_request->ppa)) <
[all...]
H A Dnetlib.h550 extern int dl_open(char devfile[], int ppa);
H A Dnetlib.c3649 dl_open(char devfile[], int ppa)
3662 attach_req->dl_ppa = ppa;
3621 dl_open(char devfile[], int ppa) argument
/external/libpcap/
H A Dpcap-dlpi.c345 int ppa; local
378 cp = split_dname(dname, &ppa, p->errbuf);
424 ppa = get_dlpi_ppa(p->fd, dname, ppa, p->errbuf);
425 if (ppa < 0) {
426 status = ppa;
446 cp = split_dname(dname, &ppa, p->errbuf);
506 ppa = 0;
522 status = dl_doattach(p->fd, ppa, p->errbuf);
527 if (dl_doattach(pd->send_fd, ppa,
835 dl_doattach(int fd, int ppa, char *ebuf) argument
1457 int ppa; local
[all...]
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c77 void dlattachreq(int fd, u_long ppa);
716 int ppa; local
722 ppa = atoi(&ifname[strlen(ifname)-1]);
738 dlattachreq(fd, ppa);
888 void dlattachreq(int fd, u_long ppa) argument
895 attach_req.dl_ppa = ppa;
/external/ppp/pppd/
H A Dsys-solaris.c256 * sifppa - Sets interface ppa
258 * without setting the ppa, ip module will return EINVAL upon setting the
263 * IF_UNITSEL (old) or SIOCSLIFNAME (new) ioctls. Such setting of the ppa
274 sifppa(fd, ppa)
276 int ppa;
278 return (int)ioctl(fd, IF_UNITSEL, (char *)&ppa);
493 * slifname - Sets interface ppa and flags
499 slifname(fd, ppa)
501 int ppa;
513 lifr.lifr_ppa = ppa;
[all...]
/external/libpng/contrib/libtests/
H A Dpngstest.c2762 png_const_bytep ppa, ppb; local
2768 ppa = rowa;
2775 for (y=0, match=1; y<height && match; ++y, ppa += stridea, ppb += strideb)
2782 png_byte aval = ppa[x];
2965 png_const_bytep ppa, ppb; local
2968 for (x=0, ppa=rowa, ppb=rowb; x<width; ++x)
2973 psa = (png_const_bytep)a->colormap + a_sample * *ppa++;
2975 psa = ppa, ppa += a_sample;
/external/qemu/net/
H A Dnet-android.c1272 int tap_fd, if_fd, ppa = -1; local
1288 ppa = atoi(ptr);
1310 strioc_ppa.ic_len = sizeof(ppa);
1311 strioc_ppa.ic_dp = (char *)&ppa;
1312 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0)
1328 snprintf (actual_name, 32, "tap%d", ppa);
1331 ifr.lifr_ppa = ppa;
1332 /* Assign ppa according to the unit number returned by tun device */
1335 syslog (LOG_ERR, "Can't set PPA %d", ppa);
1383 snprintf(dev, dev_size, "tap%d", ppa);
[all...]
H A Dnet.c1169 int tap_fd, if_fd, ppa = -1; local
1185 ppa = atoi(ptr);
1207 strioc_ppa.ic_len = sizeof(ppa);
1208 strioc_ppa.ic_dp = (char *)&ppa;
1209 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0)
1225 snprintf (actual_name, 32, "tap%d", ppa);
1228 ifr.lifr_ppa = ppa;
1229 /* Assign ppa according to the unit number returned by tun device */
1232 syslog (LOG_ERR, "Can't set PPA %d", ppa);
1280 snprintf(dev, dev_size, "tap%d", ppa);
[all...]

Completed in 206 milliseconds