Lines Matching defs:fc
910 struct red_conf *fc;
914 fc = (struct red_conf *)addr;
915 if ((rqp = altq_lookup(fc->iface.red_ifname,
920 new = red_alloc(fc->red_weight,
921 fc->red_inv_pmax,
922 fc->red_thmin,
923 fc->red_thmax,
924 fc->red_flags,
925 fc->red_pkttime);
933 limit = fc->red_limit;
934 if (limit < fc->red_thmax)
935 limit = fc->red_thmax;
937 fc->red_limit = limit; /* write back the new value */
945 fc->red_limit = limit;
946 fc->red_inv_pmax = rqp->rq_red->red_inv_pmax;
947 fc->red_thmin = rqp->rq_red->red_thmin;
948 fc->red_thmax = rqp->rq_red->red_thmax;