libnet-types.h

00001 /*
00002  *  $Id: libnet-types.h,v 1.3 2004/01/03 20:31:00 mike Exp $
00003  *
00004  *  libnet-types.h - Network routine library macro header file
00005  *
00006  *  Copyright (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com>
00007  *  All rights reserved.
00008  *
00009  * Redistribution and use in source and binary forms, with or without
00010  * modification, are permitted provided that the following conditions
00011  * are met:
00012  * 1. Redistributions of source code must retain the above copyright
00013  *    notice, this list of conditions and the following disclaimer.
00014  * 2. Redistributions in binary form must reproduce the above copyright
00015  *    notice, this list of conditions and the following disclaimer in the
00016  *    documentation and/or other materials provided with the distribution.
00017  *
00018  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
00019  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00020  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00021  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
00022  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00023  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00024  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00025  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00026  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00027  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00028  * SUCH DAMAGE.
00029  *
00030  */
00031 
00032 #ifndef __LIBNET_TYPES_H
00033 #define __LIBNET_TYPES_H
00034 
00035 #ifdef HAVE_CONFIG_H
00036 #include "../config.h"
00037 #endif
00038 
00039 /* Solaris has messed up POSIX nomenclature for int types */
00040 #if HAVE_SOLARIS
00041 #include <inttypes.h>
00042 #else
00043 #include <stdint.h>
00044 #endif
00045 
00046 /*
00047 typedef uint8_t  u_int8_t;
00048 typedef uint16_t u_int16_t;
00049 typedef uint32_t u_int32_t;
00050 typedef uint64_t u_int64_t;
00051 */
00052 
00053 #endif  /* __LIBNET_TYPES_H */
00054 
00055 /* EOF */

Generated on Mon May 11 17:22:06 2009 for libnet by  doxygen 1.5.3