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

nemesis-igmp.h

/*
 * THE NEMESIS PROJECT
 * Copyright (C) 1999, 2000, 2001 Mark Grimes <mark@stateful.net>
 * Copyright (C) 2001 - 2003 Jeff Nathan <jeff@snort.org>
 *
 * nemesis-igmp.h (IGMP Packet Injector)
 *
 */

#ifndef __NEMESIS_IGMP_H__
#define __NEMESIS_IGMP_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(WIN32)
    #include <netinet/in.h>
#else
    #include <winsock2.h>
#endif
#include <libnet.h>
#include "nemesis.h"

int buildigmp(ETHERhdr *, IPhdr *ip, IGMPhdr *igmp, PayloadData *pd,
        OptionsData *ipod, char *device);

#endif /* __NEMESIS_IGMP_H__ */

Generated by  Doxygen 1.6.0   Back to index