141edb306SCy Schubert 241edb306SCy Schubert /* 341edb306SCy Schubert * Common DLPI Test Suite header file 441edb306SCy Schubert * 541edb306SCy Schubert */ 641edb306SCy Schubert 741edb306SCy Schubert /* 841edb306SCy Schubert * Maximum control/data buffer size (in long's !!) for getmsg(). 941edb306SCy Schubert */ 1041edb306SCy Schubert #define MAXDLBUF 8192 1141edb306SCy Schubert 1241edb306SCy Schubert /* 1341edb306SCy Schubert * Maximum number of seconds we'll wait for any 1441edb306SCy Schubert * particular DLPI acknowledgment from the provider 1541edb306SCy Schubert * after issuing a request. 1641edb306SCy Schubert */ 1741edb306SCy Schubert #define MAXWAIT 15 1841edb306SCy Schubert 1941edb306SCy Schubert /* 2041edb306SCy Schubert * Maximum address buffer length. 2141edb306SCy Schubert */ 2241edb306SCy Schubert #define MAXDLADDR 1024 2341edb306SCy Schubert 2441edb306SCy Schubert 2541edb306SCy Schubert /* 2641edb306SCy Schubert * Handy macro. 2741edb306SCy Schubert */ 2841edb306SCy Schubert #define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n)) 2941edb306SCy Schubert 3041edb306SCy Schubert /* 3141edb306SCy Schubert * externs go here 3241edb306SCy Schubert */ 3341edb306SCy Schubert extern void sigalrm(); 34