Lines Matching full:lower

86 	struct hookinfo lower;			/* hook to lower layers */  member
222 priv->lower.hook = NULL; in ng_car_constructor()
223 priv->lower.dest = NULL; in ng_car_constructor()
224 priv->lower.tc = priv->lower.conf.cbs = NG_CAR_CBS_MIN; in ng_car_constructor()
225 priv->lower.te = priv->lower.conf.ebs = NG_CAR_EBS_MIN; in ng_car_constructor()
226 priv->lower.conf.cir = NG_CAR_CIR_DFLT; in ng_car_constructor()
227 priv->lower.conf.green_action = NG_CAR_ACTION_FORWARD; in ng_car_constructor()
228 priv->lower.conf.yellow_action = NG_CAR_ACTION_FORWARD; in ng_car_constructor()
229 priv->lower.conf.red_action = NG_CAR_ACTION_DROP; in ng_car_constructor()
230 priv->lower.conf.mode = 0; in ng_car_constructor()
231 priv->lower.lastRefill = priv->upper.lastRefill; in ng_car_constructor()
232 priv->lower.q_first = 0; in ng_car_constructor()
233 priv->lower.q_last = 0; in ng_car_constructor()
234 ng_callout_init(&priv->lower.q_callout); in ng_car_constructor()
235 mtx_init(&priv->lower.q_mtx, "ng_car_l", NULL, MTX_DEF); in ng_car_constructor()
249 priv->lower.hook = hook; in ng_car_newhook()
251 bzero(&priv->lower.stats, sizeof(priv->lower.stats)); in ng_car_newhook()
252 NG_HOOK_SET_PRIVATE(hook, &priv->lower); in ng_car_newhook()
255 priv->lower.dest = hook; in ng_car_newhook()
442 bcopy(&priv->lower.stats, &bstats->upstream, in ng_car_rcvmsg()
450 bzero(&priv->lower.stats, in ng_car_rcvmsg()
451 sizeof(priv->lower.stats)); in ng_car_rcvmsg()
467 bcopy(&priv->lower.conf, &bconf->upstream, in ng_car_rcvmsg()
542 bcopy(&bconf->upstream, &priv->lower.conf, in ng_car_rcvmsg()
543 sizeof(priv->lower.conf)); in ng_car_rcvmsg()
544 priv->lower.tc = priv->lower.conf.cbs; in ng_car_rcvmsg()
545 if (priv->lower.conf.mode == NG_CAR_RED || in ng_car_rcvmsg()
546 priv->lower.conf.mode == NG_CAR_SHAPE) { in ng_car_rcvmsg()
547 priv->lower.te = 0; in ng_car_rcvmsg()
549 priv->lower.te = priv->lower.conf.ebs; in ng_car_rcvmsg()
576 ng_uncallout(&priv->lower.q_callout, node); in ng_car_shutdown()
578 mtx_destroy(&priv->lower.q_mtx); in ng_car_shutdown()
606 priv->lower.dest = NULL; in ng_car_disconnect()