Lines Matching defs:iface
204 struct wfq_interface iface;
216 memset(&iface, 0, sizeof(iface));
217 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ);
219 if (ioctl(wfq_fd, WFQ_IF_ATTACH, &iface) < 0)
227 strncpy(conf.iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ);
237 LOG(LOG_INFO, 0, "wfq attached to %s", iface.wfq_ifacename);
245 struct wfq_interface iface;
247 memset(&iface, 0, sizeof(iface));
248 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ);
250 if (ioctl(wfq_fd, WFQ_IF_DETACH, &iface) < 0)
263 struct wfq_interface iface;
265 memset(&iface, 0, sizeof(iface));
266 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ);
268 if (ioctl(wfq_fd, WFQ_ENABLE, &iface) < 0)
276 struct wfq_interface iface;
278 memset(&iface, 0, sizeof(iface));
279 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ);
281 if (ioctl(wfq_fd, WFQ_DISABLE, &iface) < 0)