Lines Matching defs:channel
125 int channel; /* The channel representing this DLCI */
131 struct XXX_hookinfo channel[XXX_NUM_DLCIS];
159 privdata->channel[i].dlci = -2;
160 privdata->channel[i].channel = i;
175 * an array of structs, called 'channel' in the private info,
176 * one for each active channel. The private
179 * (a dlci is a frame relay channel)
197 * hooks start with 'dlci' and have a decimal trailing channel
213 if (xxxp->channel[chan].dlci == dlci)
217 if (xxxp->channel[chan].dlci == -2)
221 xxxp->channel[chan].dlci = dlci;
223 if (xxxp->channel[chan].hook != NULL)
225 NG_HOOK_SET_PRIVATE(hook, xxxp->channel + chan);
226 xxxp->channel[chan].hook = hook;
336 chan = ((struct XXX_hookinfo *) NG_HOOK_PRIVATE(hook))->channel;
339 * channel and pass it to the downstream module.
352 if (xxxp->channel[chan].dlci == dlci)
371 xxxp->channel[chan].hook, m);