Home
last modified time | relevance | path

Searched refs:strioctl (Results 1 – 5 of 5) sorted by relevance

/external/libpcap/
Ddlpisubs.c315 strioctl(p->fd, SBIOCSSNAP, sizeof(ss), (char *)&ss) != 0) { in pcap_conf_bufmod()
324 if (strioctl(p->fd, SBIOCSTIME, sizeof(to), (char *)&to) != 0) { in pcap_conf_bufmod()
333 if (strioctl(p->fd, SBIOCSTIME, sizeof(to), (char *)&to) != 0) { in pcap_conf_bufmod()
341 if (strioctl(p->fd, SBIOCSCHUNK, sizeof(chunksize), (char *)&chunksize) in pcap_conf_bufmod()
374 strioctl(int fd, int cmd, int len, char *dp) in strioctl() function
376 struct strioctl str; in strioctl()
Ddlpisubs.h32 int strioctl(int, int, int, char *);
Dpcap-snit.c237 struct strioctl si; in nit_setflags()
285 struct strioctl si; /* struct for ioctl() */ in pcap_activate_snit()
Dpcap-dlpi.c667 if (strioctl(p->fd, A_PROMISCON_REQ, 0, NULL) < 0) {
785 if (strioctl(p->fd, DLIOCRAW, 0, NULL) < 0) {
1112 if (strioctl(fd, A_GET_UNITS, sizeof(buf), (char *)&buf) < 0) {
/external/ppp/pppd/
Dsys-solaris.c252 static int strioctl __P((int, int, void *, int, int));
606 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0); in sys_init()
610 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0) in sys_init()
632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); in sys_init()
643 strioctl(i6fd, PPPIO_DEBUG, &x, sizeof(int), 0); in sys_init()
760 if (strioctl(ipfd, SIOCSIFNAME, (char *)&ifr, sizeof ifr, 0) < 0) in sys_init()
951 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
968 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
1028 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0) in clean_check()
1550 if (strioctl(pppfd, PPPIO_MTU, &mtu, sizeof(mtu), 0) < 0) {
[all …]