Searched refs:strioctl (Results 1 - 7 of 7) sorted by relevance

/macosx-10.10.1/libpcap-48/libpcap/
H A Ddlpisubs.h36 int strioctl(int, int, int, char *);
H A Ddlpisubs.c289 strioctl(p->fd, SBIOCSSNAP, sizeof(ss), (char *)&ss) != 0) {
298 if (strioctl(p->fd, SBIOCSTIME, sizeof(to), (char *)&to) != 0) {
307 if (strioctl(p->fd, SBIOCSTIME, sizeof(to), (char *)&to) != 0) {
315 if (strioctl(p->fd, SBIOCSCHUNK, sizeof(chunksize), (char *)&chunksize)
347 strioctl(int fd, int cmd, int len, char *dp) function
349 struct strioctl str;
H A Dpcap-snit.c242 struct strioctl si;
290 struct strioctl si; /* struct for ioctl() */
H A Dpcap-dlpi.c611 if (strioctl(p->fd, A_PROMISCON_REQ, 0, NULL) < 0) {
711 if (strioctl(p->fd, DLIOCRAW, 0, NULL) < 0) {
952 if (strioctl(fd, A_GET_UNITS, sizeof(buf), (char *)&buf) < 0) {
/macosx-10.10.1/sudo-73/src/
H A Dinterfaces.c68 # define STRSET(cmd, param, len) {strioctl.ic_cmd=(cmd);\
69 strioctl.ic_dp=(param);\
70 strioctl.ic_timout=0;\
71 strioctl.ic_len=(len);}
194 struct strioctl strioctl; local
212 if (ioctl(sock, I_STR, (caddr_t) &strioctl) < 0) {
278 if (ioctl(sock, I_STR, (caddr_t) &strioctl) == 0) {
/macosx-10.10.1/ppp-786.1.1/Helpers/pppstats/
H A Dpppstats.c243 strioctl(fd, cmd, ptr, ilen, olen) function
247 struct strioctl str;
256 fprintf(stderr, "strioctl: expected %d bytes, got %d for cmd %x\n",
265 if (strioctl(s, PPPIO_GETSTAT, curp, 0, sizeof(*curp)) < 0) {
279 if (strioctl(s, PPPIO_GETCSTAT, csp, 0, sizeof(*csp)) < 0) {
570 if (strioctl(s, PPPIO_ATTACH, &unit, sizeof(int), 0) < 0) {
/macosx-10.10.1/ntp-92/ntpd/
H A Drefclock_parse.c1750 struct strioctl strioc;
1773 struct strioctl strioc;
1797 struct strioctl strioc;
1822 struct strioctl strioc;
1845 struct strioctl strioc;
1870 struct strioctl strioc;

Completed in 158 milliseconds