Lines Matching full:downstream
47 * It has a 'downstream' hook that goes to the line, and a
89 struct ctxinfo downstream; member
227 * We allow hooks called "debug", "downstream" and dlci[0-1023]
229 * channel. A NULL pointer is debug and a DLCI of -1 means downstream.
248 * trailing channel number up to 4 digits, or are the downstream in ngfrm_newhook()
253 /* It must be the downstream connection */ in ngfrm_newhook()
258 if (sc->downstream.hook) in ngfrm_newhook()
262 NG_HOOK_SET_PRIVATE(hook, &sc->downstream); in ngfrm_newhook()
263 sc->downstream.hook = hook; in ngfrm_newhook()
264 sc->downstream.dlci = -1; in ngfrm_newhook()
265 sc->downstream.flags |= CHAN_ACTIVE; in ngfrm_newhook()
340 /* If coming from downstream, decode it to a channel */ in ngfrm_rcvdata()
350 if ((sc->downstream.hook == NULL) in ngfrm_rcvdata()
394 NG_FWD_NEW_DATA(error, item, sc->downstream.hook, m); in ngfrm_rcvdata()