HomeSort by relevance Sort by last modified time
    Searched refs:ppa (Results 1 - 9 of 9) sorted by null

  /external/netperf/
nettest_dlpi.h 31 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
nettest_dlpi.c 66 loc_ppa = 4, /* the ppa for the local interface, */
68 rem_ppa = 4, /* the ppa for the remote interface */
82 -p loc[,rem] Set the local/remote PPA for the test\n\
323 dlpi_co_stream_request->ppa = rem_ppa;
783 dlpi_co_stream_request->ppa);
    [all...]
netlib.h 550 extern int dl_open(char devfile[], int ppa);
netlib.c     [all...]
  /external/libpcap/
pcap-dlpi.c 465 int ppa; local
506 cp = split_dname(dname, &ppa, ebuf);
548 ppa = get_dlpi_ppa(p->fd, dname, ppa, ebuf);
549 if (ppa < 0)
568 cp = split_dname(dname, &ppa, ebuf);
614 ppa = 0;
632 if (dl_doattach(p->fd, ppa, ebuf) < 0)
636 if (dl_doattach(p->send_fd, ppa, ebuf) < 0)
1016 dl_doattach(int fd, int ppa, char *ebuf
1627 int ppa; local
    [all...]
  /external/ppp/pppd/plugins/rp-pppoe/
if.c 77 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)
895 attach_req.dl_ppa = ppa;
  /external/ppp/pppd/
sys-solaris.c 256 * 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/qemu/
net-android.c 1297 int tap_fd, if_fd, ppa = -1; local
1313 ppa = atoi(ptr);
1332 /* Assign a new PPA and get its unit number. */
1335 strioc_ppa.ic_len = sizeof(ppa);
1336 strioc_ppa.ic_dp = (char *)&ppa;
1337 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0)
    [all...]
net.c 1169 int tap_fd, if_fd, ppa = -1; local
1185 ppa = atoi(ptr);
1204 /* Assign a new PPA and get its unit number. */
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)
    [all...]

Completed in 234 milliseconds