Lines Matching defs:channel
57 VCHANNEL *channel;
68 channel = &g_channels[g_num_channels];
69 channel->mcs_id = MCS_GLOBAL_CHANNEL + 1 + g_num_channels;
70 strncpy(channel->name, name, 8);
71 channel->flags = flags;
72 channel->process = callback;
74 return channel;
78 channel_init(VCHANNEL * channel, uint32 length)
88 channel_send(STREAM s, VCHANNEL * channel)
111 if (channel->flags & CHANNEL_OPTION_SHOW_PROTOCOL)
118 sec_send_to_channel(s, g_encryption ? SEC_ENCRYPT : 0, channel->mcs_id);
126 if (channel->flags & CHANNEL_OPTION_SHOW_PROTOCOL)
136 sec_send_to_channel(s, g_encryption ? SEC_ENCRYPT : 0, channel->mcs_id);
151 VCHANNEL *channel = NULL;
157 channel = &g_channels[i];
158 if (channel->mcs_id == mcs_channel)
170 channel->process(s);
175 in = &channel->in;
194 channel->process(in);