89 |
|
|
90 |
/* Output a DOMAIN_PARAMS structure (ASN.1 BER) */ |
/* Output a DOMAIN_PARAMS structure (ASN.1 BER) */ |
91 |
static void |
static void |
92 |
mcs_out_domain_params(STREAM s, int max_channels, int max_users, |
mcs_out_domain_params(STREAM s, int max_channels, int max_users, int max_tokens, int max_pdusize) |
|
int max_tokens, int max_pdusize) |
|
93 |
{ |
{ |
94 |
ber_out_header(s, MCS_TAG_DOMAIN_PARAMS, 32); |
ber_out_header(s, MCS_TAG_DOMAIN_PARAMS, 32); |
95 |
ber_out_integer(s, max_channels); |
ber_out_integer(s, max_channels); |
184 |
|
|
185 |
/* Send an EDrq message (ASN.1 PER) */ |
/* Send an EDrq message (ASN.1 PER) */ |
186 |
static void |
static void |
187 |
mcs_send_edrq() |
mcs_send_edrq(void) |
188 |
{ |
{ |
189 |
STREAM s; |
STREAM s; |
190 |
|
|
200 |
|
|
201 |
/* Send an AUrq message (ASN.1 PER) */ |
/* Send an AUrq message (ASN.1 PER) */ |
202 |
static void |
static void |
203 |
mcs_send_aurq() |
mcs_send_aurq(void) |
204 |
{ |
{ |
205 |
STREAM s; |
STREAM s; |
206 |
|
|
261 |
|
|
262 |
/* Expect a CJcf message (ASN.1 PER) */ |
/* Expect a CJcf message (ASN.1 PER) */ |
263 |
static BOOL |
static BOOL |
264 |
mcs_recv_cjcf() |
mcs_recv_cjcf(void) |
265 |
{ |
{ |
266 |
uint8 opcode, result; |
uint8 opcode, result; |
267 |
STREAM s; |
STREAM s; |
324 |
|
|
325 |
/* Receive an MCS transport data packet */ |
/* Receive an MCS transport data packet */ |
326 |
STREAM |
STREAM |
327 |
mcs_recv() |
mcs_recv(void) |
328 |
{ |
{ |
329 |
uint8 opcode, appid, length; |
uint8 opcode, appid, length; |
330 |
STREAM s; |
STREAM s; |
386 |
|
|
387 |
/* Disconnect from the MCS layer */ |
/* Disconnect from the MCS layer */ |
388 |
void |
void |
389 |
mcs_disconnect() |
mcs_disconnect(void) |
390 |
{ |
{ |
391 |
iso_disconnect(); |
iso_disconnect(); |
392 |
} |
} |