Home | History | Annotate | Download | only in libaltq

Lines Matching defs:iface

229 	struct red_interface iface;
241 memset(&iface, 0, sizeof(iface));
242 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
244 if (ioctl(red_fd, RED_IF_ATTACH, &iface) < 0)
250 strncpy(conf.iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
261 LOG(LOG_INFO, 0, "red attached to %s", iface.red_ifname);
269 struct red_interface iface;
271 memset(&iface, 0, sizeof(iface));
272 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
274 if (ioctl(red_fd, RED_IF_DETACH, &iface) < 0)
287 struct red_interface iface;
289 memset(&iface, 0, sizeof(iface));
290 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
292 if (ioctl(red_fd, RED_ENABLE, &iface) < 0)
300 struct red_interface iface;
302 memset(&iface, 0, sizeof(iface));
303 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
305 if (ioctl(red_fd, RED_DISABLE, &iface) < 0)