Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

LibnetNT.h File Reference

#include "snort.h"
#include <winsock2.h>
#include "packet_types.h"
#include <time.h>
#include <windows.h>
#include <Winbase.h>
#include <assert.h>
#include <iphlpapi.h>
#include <iptypes.h>
#include <stdlib.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>

Go to the source code of this file.

Defines

#define LIBNET_LIL_ENDIAN   1
#define DOSNAMEPREFIX   TEXT("Packet_")
#define MAX_LINK_NAME_LENGTH   64
#define NMAX_PACKET   65535

Typedefs

typedef _ADAPTER ADAPTER
typedef _ADAPTERLPADAPTER
typedef GlobalInfo GINFO
typedef GlobalInfoLPGINFO

Functions

BOOL libnet_win32_shutdown ()
BOOL libnet_win32_init (int AdapterNum)
BOOL libnet_win32_open_adapter (int Open)
void libnet_win32_get_hw_addr ()
void libnet_win32_get_local_ip ()
BYTE * libnet_win32_FindMAC (DWORD IP)
BOOL libnet_win32_send_arp (DWORD IP)
BYTE * libnet_win32_get_remote_mac (DWORD IP)


Define Documentation

#define DOSNAMEPREFIX   TEXT("Packet_")
 

Definition at line 17 of file LibnetNT.h.

#define LIBNET_LIL_ENDIAN   1
 

Definition at line 5 of file LibnetNT.h.

#define MAX_LINK_NAME_LENGTH   64
 

Definition at line 18 of file LibnetNT.h.

#define NMAX_PACKET   65535
 

Definition at line 19 of file LibnetNT.h.


Typedef Documentation

typedef struct _ADAPTER ADAPTER
 

typedef struct GlobalInfo GINFO
 

typedef struct _ADAPTER * LPADAPTER
 

typedef struct GlobalInfo * LPGINFO
 


Function Documentation

BYTE* libnet_win32_FindMAC DWORD  IP  ) 
 

void libnet_win32_get_hw_addr  ) 
 

void libnet_win32_get_local_ip  ) 
 

BYTE* libnet_win32_get_remote_mac DWORD  IP  ) 
 

BOOL libnet_win32_init int  AdapterNum  ) 
 

BOOL libnet_win32_open_adapter int  Open  ) 
 

BOOL libnet_win32_send_arp DWORD  IP  ) 
 

BOOL libnet_win32_shutdown  ) 
 


Generated on Sun May 14 14:51:27 2006 by  doxygen 1.4.2