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