Lines Matching defs:conf
73 struct ng_one2many_config conf; /* node configuration */
191 priv->conf.xmitAlg = NG_ONE2MANY_XMIT_ROUNDROBIN;
192 priv->conf.failAlg = NG_ONE2MANY_FAIL_MANUAL;
242 priv->conf.enabledLinks[linkNum] = 1; /* auto-enable link */
267 struct ng_one2many_config *conf;
271 if (msg->header.arglen != sizeof(*conf)) {
275 conf = (struct ng_one2many_config *)msg->data;
276 switch (conf->xmitAlg) {
285 switch (conf->failAlg) {
298 conf->enabledLinks[i] = !!conf->enabledLinks[i];
301 bcopy(conf, &priv->conf, sizeof(*conf));
307 struct ng_one2many_config *conf;
309 NG_MKRESPONSE(resp, msg, sizeof(*conf), M_NOWAIT);
314 conf = (struct ng_one2many_config *)resp->data;
315 bcopy(&priv->conf, conf, sizeof(priv->conf));
370 if (priv->conf.failAlg != NG_ONE2MANY_FAIL_NOTIFY)
385 priv->conf.enabledLinks[linkNum] = 1;
389 priv->conf.enabledLinks[linkNum] = 0;
445 switch(priv->conf.xmitAlg) {
532 priv->conf.enabledLinks[linkNum] = 0;
559 switch (priv->conf.failAlg) {
563 && priv->conf.enabledLinks[linkNum]) {
582 switch (priv->conf.xmitAlg) {