6 #define LT_GETRESULT  0x00
 
   7 #define LT_WRITEMEM   0x01
 
   8 #define LT_READMEM    0x02
 
   9 #define LT_GETFLAGS   0x04
 
  10 #define LT_SETFLAGS   0x05
 
  12 #define LT_SENDLAP    0x13
 
  13 #define LT_RCVLAP     0x14
 
  15 /* the flag that we care about */
 
  16 #define LT_FLAG_ALLLAP 0x04
 
  19         unsigned char command;
 
  20         unsigned char mailbox;
 
  24         unsigned char command;
 
  25         unsigned char mailbox;
 
  26         unsigned short addr;    /* host order */
 
  27         unsigned short length;  /* host order */
 
  31         unsigned char command;
 
  32         unsigned char mailbox;
 
  37         unsigned char command;
 
  38         unsigned char mailbox;
 
  42         unsigned char command;
 
  43         unsigned char mailbox;
 
  48         unsigned char command;
 
  49         unsigned char mailbox;
 
  51         unsigned char laptype;
 
  52         unsigned short length;  /* host order */
 
  56         unsigned char command;
 
  59         unsigned char laptype;
 
  60         unsigned short length;  /* host order */
 
  64         struct lt_getresult getresult;
 
  66         struct lt_setflags setflags;
 
  67         struct lt_getflags getflags;
 
  69         struct lt_sendlap sendlap;
 
  70         struct lt_rcvlap rcvlap;
 
  72 typedef union lt_command lt_command;