Revision 12269,
638 bytes
checked in by ghudson, 26 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r12268,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* |
---|
2 | * $Revision: 1.1.1.2 $ |
---|
3 | * |
---|
4 | * The code contained in this file is from Neal Nuckolls's (Sun Internet |
---|
5 | * Engineering) DLPI "test" kit. |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * Common DLPI Test Suite header file |
---|
10 | * |
---|
11 | */ |
---|
12 | |
---|
13 | /* |
---|
14 | * Maximum control/data buffer size (in long's !!) for getmsg(). |
---|
15 | */ |
---|
16 | #define MAXDLBUF 8192 |
---|
17 | |
---|
18 | /* |
---|
19 | * Maximum number of seconds we'll wait for any |
---|
20 | * particular DLPI acknowledgment from the provider |
---|
21 | * after issuing a request. |
---|
22 | */ |
---|
23 | #define MAXWAIT 15 |
---|
24 | |
---|
25 | /* |
---|
26 | * Maximum address buffer length. |
---|
27 | */ |
---|
28 | #define MAXDLADDR 1024 |
---|
29 | |
---|
30 | /* |
---|
31 | * Handy macro. |
---|
32 | */ |
---|
33 | #define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n)) |
---|
34 | |
---|
35 | /* |
---|
36 | * externs go here |
---|
37 | */ |
---|
38 | extern void sigalrm(); |
---|
Note: See
TracBrowser
for help on using the repository browser.