Lines Matching refs:pcf
225 struct ng_vlanrotate_conf *pcf;
242 if (msg->header.arglen != sizeof(*pcf)) {
247 pcf = (struct ng_vlanrotate_conf *)msg->data;
249 if (pcf->max == 0) /* keep current value */
250 pcf->max = vrp->conf.max;
252 if ((pcf->max > NG_VLANROTATE_MAX_VLANS) ||
253 (pcf->min > pcf->max) ||
254 (abs(pcf->rot) >= pcf->max)) {
259 vrp->conf = *pcf;