Lines Matching refs:channel
123 int channel; /* The channel representing this DLCI */
129 struct XXX_hookinfo channel[XXX_NUM_DLCIS];
157 privdata->channel[i].dlci = -2;
158 privdata->channel[i].channel = i;
173 * an array of structs, called 'channel' in the private info,
174 * one for each active channel. The private
177 * (a dlci is a frame relay channel)
195 * hooks start with 'dlci' and have a decimal trailing channel
211 if (xxxp->channel[chan].dlci == dlci)
215 if (xxxp->channel[chan].dlci == -2)
219 xxxp->channel[chan].dlci = dlci;
221 if (xxxp->channel[chan].hook != NULL)
223 NG_HOOK_SET_PRIVATE(hook, xxxp->channel + chan);
224 xxxp->channel[chan].hook = hook;
334 chan = ((struct XXX_hookinfo *) NG_HOOK_PRIVATE(hook))->channel;
337 * channel and pass it to the downstream module.
350 if (xxxp->channel[chan].dlci == dlci)
360 xxxp->channel[chan].hook, m);