• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/isdn/hardware/eicon/

Lines Matching defs:header

399   if (msg->header.length < sizeof (msg->header) ||
400 msg->header.length > MAX_MSG_SIZE) {
405 controller = (byte)((msg->header.controller &0x7f)-1);
416 if ((msg->header.plci != 0) && (msg->header.plci <= a->max_plci) && !a->adapter_disabled)
418 dbug(1,dprintf("plci=%x",msg->header.plci));
419 plci = &a->plci[msg->header.plci-1];
420 ncci = GET_WORD(&msg->header.ncci);
425 || (msg->header.command == (_DISCONNECT_I|RESPONSE)))
427 || (msg->header.command == (_DISCONNECT_B3_I|RESPONSE))
434 if (j + msg->header.length + MSG_IN_OVERHEAD <= MSG_IN_QUEUE_SIZE)
442 n = (((CAPI_MSG *)(plci->msg_in_queue))->header.length + MSG_IN_OVERHEAD + 3) & 0xfffc;
449 if (i <= ((msg->header.length + MSG_IN_OVERHEAD + 3) & 0xfffc))
453 msg->header.length, plci->msg_in_write_pos,
465 if (msg->header.command == _DATA_B3_R)
467 if (msg->header.length < 20)
469 dbug(1,dprintf("DATA_B3 REQ wrong length %d", msg->header.length));
480 if ((((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->header.command == _DATA_B3_R)
481 && (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->header.ncci == ncci))
488 k += (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->header.length +
517 plci->command = msg->header.command;
518 plci->number = msg->header.number;
524 msg->header.command, plci->req_in, plci->internal_command,
525 msg->header.length, plci->msg_in_write_pos,
530 for (i = 0; i < msg->header.length; i++)
532 if (m->header.command == _DATA_B3_R)
551 dbug(1,dprintf("com=%x",msg->header.command));
558 if(ftable[i].command==msg->header.command) {
561 if(!api_parse(msg->info.b,(word)(msg->header.length-12),ftable[i].format,msg_parms)) {
575 c = ftable[i].function(GET_DWORD(&msg->header.controller),
576 msg->header.number,
1030 if (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[i]))->header.command == _DATA_B3_R)
1038 i += (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[i]))->header.length +
4029 i = (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[j]))->header.length + 3) & 0xfffc;
4034 m->header.command, plci->msg_in_write_pos, plci->msg_in_read_pos, plci->msg_in_wrap_pos));
4057 if (m->header.command == _DATA_B3_R)
4061 dbug(1,dprintf("Error 0x%04x from msg(0x%04x)", i, m->header.command));
7934 const byte header[] = {0,2,3,3,0,0,0};
8120 header[GET_WORD(bp_parms[2].info)]);
11279 ((CAPI_MSG *) msg)->header.length = 18;
11280 ((CAPI_MSG *) msg)->header.appl_id = notify_plci->appl->Id;
11281 ((CAPI_MSG *) msg)->header.command = _FACILITY_R;
11282 ((CAPI_MSG *) msg)->header.number = 0;
11283 ((CAPI_MSG *) msg)->header.controller = notify_plci->adapter->Id;
11284 ((CAPI_MSG *) msg)->header.plci = notify_plci->Id;
11285 ((CAPI_MSG *) msg)->header.ncci = 0;