|
|
1.1 ! root 1: /* @(#)bsctr.h 1.3 REL */ ! 2: #define TBUFSIZE 512 /* size of circular trace buffer */ ! 3: ! 4: struct bsctr { /* structure of trace item */ ! 5: long tr_time; /* time stamp */ ! 6: char tr_state; /* state number */ ! 7: char tr_type; /* type of record */ ! 8: short tr_val; /* if type='x' or 'y', length of data */ ! 9: char tr_data[TBUFSIZE-8]; /* data packet of tr_val bytes */ ! 10: }; ! 11: ! 12: #if defined BSD42 ! 13: #include <sys/ioctl.h> ! 14: #define BSC_TRDATA _IO(b,1) ! 15: #else ! 16: #define BSC_TRDATA (('b'<<8)|1) ! 17: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.