Lines Matching full:lower
36 * The node has two hooks, upper and lower. Traffic flowing from upper to
37 * lower hook is referenced as downstream, and vice versa. Parameters for
101 struct hookinfo lower;
278 bzero(&priv->lower, sizeof(priv->lower));
279 priv->lower.hook = hook;
280 NG_HOOK_SET_PRIVATE(hook, &priv->lower);
324 bcopy(&priv->lower.stats, &stats->upstream,
330 bzero(&priv->lower.stats,
331 sizeof(priv->lower.stats));
343 bcopy(&priv->lower.run, &run->upstream,
355 bcopy(&priv->lower.cfg, &cfg->upstream,
382 priv->lower.cfg.bandwidth = 0;
387 priv->lower.cfg.bandwidth = cfg->bandwidth;
407 priv->lower.cfg.ber == 1;
410 parse_cfg(&priv->lower.cfg, &cfg->upstream,
411 &priv->lower, priv);
413 priv->lower.cfg.ber == 1;
421 if (priv->lower.hook != NULL) {
426 flow_msg, priv->lower.hook,
608 if (hinfo == &priv->lower)
611 dest = &priv->lower;
748 if (hinfo == &priv->lower)
751 dest = &priv->lower;
916 if (priv->lower.hook != NULL)
917 pipe_dequeue(&priv->lower, &now);
923 * This is tricky. If we have both a lower and upper hook, then we
935 if (priv->lower.hook && priv->upper.hook)
936 ng_bypass(priv->lower.hook, priv->upper.hook);
940 if (priv->lower.hook != NULL)
941 ng_rmhook_self(priv->lower.hook);
987 if (priv->upper.hook == NULL && priv->lower.hook == NULL)