1 2 /* 3 * Common DLPI Test Suite header file 4 * 5 */ 6 7 /* 8 * Maximum control/data buffer size (in long's !!) for getmsg(). 9 */ 10 #define MAXDLBUF 8192 11 12 /* 13 * Maximum number of seconds we'll wait for any 14 * particular DLPI acknowledgment from the provider 15 * after issuing a request. 16 */ 17 #define MAXWAIT 15 18 19 /* 20 * Maximum address buffer length. 21 */ 22 #define MAXDLADDR 1024 23 24 25 /* 26 * Handy macro. 27 */ 28 #define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n)) 29 30 /* 31 * externs go here 32 */ 33 extern void sigalrm(); 34