Annotation of embedaddon/iftop/dlcommon.h, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>