Logo Search packages:      
Sourcecode: nemesis version File versions  Download package

nemesis-udp.h

/*
 * $Id: nemesis-udp.h,v 1.1.1.1 2003/10/31 21:29:38 jnathan Exp $
 *
 * THE NEMESIS PROJECT
 * Copyright (C) 1999, 2000, 2001 Mark Grimes <mark@stateful.net>
 * Copyright (C) 2001 - 2003 Jeff Nathan <jeff@snort.org>
 *
 * nemesis-udp.h (UDP Packet Injector)
 *
 */

#ifndef __NEMESIS_UDP_H__
#define __NEMESIS_UDP_H__

#if defined(HAVE_CONFIG_H)
    #include "config.h"
#endif

#include <stdio.h>
#include <strings.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#if defined(WIN32)
    #include <pcap.h>
#endif
#if defined(HAVE_NETINET_IN_H)
    #include <netinet/in.h>
#elif defined(WIN32)
    #include <winsock2.h>
#endif
#include <libnet.h>
#include "nemesis.h"

int buildudp(ETHERhdr *, IPhdr *, UDPhdr *, FileData *, FileData *,
        char *);

#endif /* __NEMESIS_UDP_H__ */

Generated by  Doxygen 1.6.0   Back to index