35 lines
565 B
C
35 lines
565 B
C
/* $NetBSD: dltest.h,v 1.1.1.1 1999/12/11 22:24:07 veego Exp $ */
|
|
|
|
/*
|
|
* Common DLPI Test Suite header file
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* Maximum control/data buffer size (in long's !!) for getmsg().
|
|
*/
|
|
#define MAXDLBUF 8192
|
|
|
|
/*
|
|
* Maximum number of seconds we'll wait for any
|
|
* particular DLPI acknowledgment from the provider
|
|
* after issuing a request.
|
|
*/
|
|
#define MAXWAIT 15
|
|
|
|
/*
|
|
* Maximum address buffer length.
|
|
*/
|
|
#define MAXDLADDR 1024
|
|
|
|
|
|
/*
|
|
* Handy macro.
|
|
*/
|
|
#define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n))
|
|
|
|
/*
|
|
* externs go here
|
|
*/
|
|
extern void sigalrm();
|