41edb306f0
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sbin/ipf. Now that I'm planning on implementing MSS clamping as in iptables it makes more sense to move ipfilter to sbin. This is the second of three commits of the ipfilter move. Suggested by glebius on two occaions. Suggested by and discussed with: glebius Reviewed by: glebius, kp (for #network) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33510
35 lines
515 B
C
35 lines
515 B
C
/* $FreeBSD$ */
|
|
|
|
/*
|
|
* 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();
|