Lines Matching defs:ifinfo
53 static int red_attach(struct ifinfo *);
54 static int red_detach(struct ifinfo *);
55 static int red_enable(struct ifinfo *);
56 static int red_disable(struct ifinfo *);
193 qop_red_add_if(struct ifinfo **rp, const char *ifname,
197 struct ifinfo *ifinfo = NULL;
211 error = qop_add_if(&ifinfo, ifname, bandwidth,
219 *rp = ifinfo;
227 red_attach(struct ifinfo *ifinfo)
242 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
248 red_ifinfo = (struct red_ifinfo *)ifinfo->private;
250 strncpy(conf.iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
267 red_detach(struct ifinfo *ifinfo)
272 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
285 red_enable(struct ifinfo *ifinfo)
290 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);
298 red_disable(struct ifinfo *ifinfo)
303 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ);