Lines Matching refs:si
237 struct strioctl si; in nit_setflags() local
246 si.ic_cmd = NIOCSCHUNK; in nit_setflags()
247 si.ic_len = sizeof(zero); in nit_setflags()
248 si.ic_dp = (char *)&zero; in nit_setflags()
249 if (ioctl(p->fd, I_STR, (char *)&si) < 0) { in nit_setflags()
255 si.ic_timout = INFTIM; in nit_setflags()
259 si.ic_cmd = NIOCSTIME; in nit_setflags()
260 si.ic_len = sizeof(timeout); in nit_setflags()
261 si.ic_dp = (char *)&timeout; in nit_setflags()
262 if (ioctl(p->fd, I_STR, (char *)&si) < 0) { in nit_setflags()
271 si.ic_cmd = NIOCSFLAGS; in nit_setflags()
272 si.ic_len = sizeof(flags); in nit_setflags()
273 si.ic_dp = (char *)&flags; in nit_setflags()
274 if (ioctl(p->fd, I_STR, (char *)&si) < 0) { in nit_setflags()
285 struct strioctl si; /* struct for ioctl() */ in pcap_activate_snit() local
340 si.ic_cmd = NIOCSCHUNK; in pcap_activate_snit()
341 si.ic_timout = INFTIM; in pcap_activate_snit()
342 si.ic_len = sizeof(chunksize); in pcap_activate_snit()
343 si.ic_dp = (char *)&chunksize; in pcap_activate_snit()
344 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_activate_snit()
353 si.ic_cmd = NIOCBIND; in pcap_activate_snit()
354 si.ic_len = sizeof(ifr); in pcap_activate_snit()
355 si.ic_dp = (char *)𝔦 in pcap_activate_snit()
356 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_activate_snit()
363 si.ic_cmd = NIOCSSNAP; in pcap_activate_snit()
364 si.ic_len = sizeof(p->snapshot); in pcap_activate_snit()
365 si.ic_dp = (char *)&p->snapshot; in pcap_activate_snit()
366 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_activate_snit()