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

misc.c File Reference

#include "snort.h"
#include "util.h"

Go to the source code of this file.

Functions

int gettimeofday (struct timeval *tv, struct timezone *tz)
void * GetAdapterFromList (void *device, int index)
char * print_interface (char *szInterface)
void PrintDeviceList (const char *device)
int init_winsock (void)
int geteuid (void)


Function Documentation

void* GetAdapterFromList void *  device,
int  index
 

Definition at line 67 of file misc.c.

References DWORD, and NULL.

Referenced by ParseCmdLine().

int geteuid void   ) 
 

Definition at line 290 of file misc.c.

int gettimeofday struct timeval *  tv,
struct timezone tz
 

Definition at line 38 of file misc.c.

References int(), and NULL.

Referenced by CleanExit(), GetCurrentTimestamp(), GetProcessingTime(), InitBaseStats(), InterfaceThread(), rand_open(), Scan2Init(), Stream4InitReassembler(), TagAlloc(), and ts_print().

int init_winsock void   ) 
 

Definition at line 268 of file misc.c.

References FatalError().

Referenced by SnortMain().

char* print_interface char *  szInterface  ) 
 

Definition at line 126 of file misc.c.

References NULL.

void PrintDeviceList const char *  device  ) 
 

Definition at line 154 of file misc.c.

References DWORD.

Referenced by ParseCmdLine().


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