compat.h revision 381a2a9a387f449fab7d0c7e97c4184c26963abf
/*
* Copyright (C) 2003 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
#ifdef DEBUG
# define PFILDEBUG
#endif
#include "os.h"
#ifndef MTYPE
#endif
#ifndef MLEN
#endif
#ifndef MIN
# define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef ALIGN32
# define ALIGN32(x) (x)
#endif
#ifdef PFILDEBUG
#else
# define PRINT(l,x) ;
#endif
#ifndef LIFNAMSIZ
# define LIFNAMSIZ 32
#endif
#ifndef ASSERT
# define ASSERT(x)
#endif
/*
* yet clear whether pfil should deal with any of these or not.
*/
#ifndef IFMP_SAP
# define IFMP_SAP 0x0065
#endif
#ifndef LANER_SAP
# define LANER_SAP 0x9999
#endif
#ifndef SNMP_SAP
# define SNMP_SAP 0x999a
#endif
#ifndef ILMI_SAP
# define ILMI_SAP 0x999b
#endif
#ifndef SIG_SAP
# define SIG_SAP 0x999c
#endif
#ifndef Q93B_MGMT_SAP
# define Q93B_MGMT_SAP 0x999d
#endif
#ifndef UTIL_SAP
# define UTIL_SAP 0x999e
#endif
#ifndef ERROR_SAP
# define ERROR_SAP 0x999f
#endif