#include <winsock2.h>
#include <windows.h>
#include <io.h>
#include <process.h>
#include <sys/timeb.h>
#include <direct.h>
#include <getopt.h>
#include "win32/WIN32-Includes/rpc/types.h"
#include <stdint.h>
Go to the source code of this file.
Defines | |
#define | WORDS_LITTLEENDIAN 1 |
#define | WIN32 1 |
#define | ERRLIST_PREDEFINED 1 |
#define | HAVE_SNPRINTF 1 |
#define | HAVE_STRERROR 1 |
#define | HAVE_STDLIB_H 1 |
#define | HAVE_STDINT_H 1 |
#define | HAVE_STRING_H 1 |
#define | HAVE_UNISTD_H 1 |
#define | HAVE_LIBPCAP 1 |
#define | VERSION_ENABLE_ODBC |
#define | VERSION_ENABLE_MYSQL |
#define | VERSION_ENABLE_MSSQL |
#define | VERSION_ENABLE_ORACLE |
#define | VERSION_ENABLE_RESPONSE |
#define | VERSION_DEBUG |
#define | VERSION "2.4.4"VERSION_ENABLE_ODBC""VERSION_ENABLE_MYSQL""VERSION_ENABLE_MSSQL""VERSION_ENABLE_ORACLE""VERSION_ENABLE_RESPONSE"-WIN32"VERSION_DEBUG |
#define | PACKAGE "snort" |
#define | IFNAMSIZ 255 |
#define | inline __inline |
#define | O_SYNC 0x0080 |
#define | CDECL __cdecl |
#define | SIGQUIT 3 |
#define | SIGHUP 1 |
#define | SIGUSR1 30 |
#define | SIGUSR2 31 |
#define | SIGPIPE 13 |
#define | W_OK 0x02 |
#define | R_OK 0x04 |
#define | S_ISDIR(x) (((x) & 0170000) == 0040000) |
#define | S_IRWXU 0000700 |
#define | S_IRWXG 0000070 |
#define | S_IROTH 0000004 |
#define | S_IXOTH 0000001 |
#define | bcopy(src, dst, count) memcpy((void *)dst, (const void *)src, (size_t) count) |
#define | bzero(addr, count) memset((addr), 0, (count)) |
#define | index strchr |
#define | mkdir(x, y) _mkdir(x) |
#define | snprintf _snprintf |
#define | strncasecmp strnicmp |
#define | strcasecmp stricmp |
#define | vsnprintf _vsnprintf |
#define | IXDR_GET_LONG(buf) ((long)ntohl((u_long)*(buf)++)) |
#define | IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf)) |
#define | RPC_MSG_VERSION ((u_long) 2) |
#define | ifr_addr ifr_ifru.ifru_addr |
#define | ifr_dstaddr ifr_ifru.ifru_dstaddr |
#define | ifr_broadaddr ifr_ifru.ifru_broadaddr |
#define | ifr_flags ifr_ifru.ifru_flags |
#define | ifr_metric ifr_ifru.ifru_metric |
#define | ifr_mtu ifr_ifru.ifru_metric |
#define | ifr_media ifr_ifru.ifru_metric |
#define | ifr_data ifr_ifru.ifru_data |
#define | RUSAGE_SELF 0 |
#define | RUSAGE_CHILDREN -1 |
Typedefs | |
typedef int | pid_t |
typedef SSIZE_T | ssize_t |
Enumerations | |
enum | msg_type { CALL = 0, REPLY = 1 } |
Functions | |
char * | strtok_r (char *s1, const char *s2, char **lasts) |
int | inet_aton (const char *cp, struct in_addr *addr) |
int | gettimeofday (struct timeval *, struct timezone *) |
void * | GetAdapterFromList (void *, int) |
char * | print_interface (char *) |
void | PrintDeviceList (const char *) |
int | init_winsock (void) |
|
Definition at line 172 of file config.h. Referenced by AlertUnixSock(), ParseCmdLine(), ParseConfig(), ParseIP(), and PrintArpHeader(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 95 of file config.h. Referenced by fr_to_fwc(), and rule_to_ipf(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 181 of file config.h. Referenced by CheckRpc(). |
|
|
|
Definition at line 175 of file config.h. Referenced by OpenLogFile(), and OpenSessionFile(). |
|
|
|
|
|
|
|
Definition at line 182 of file config.h. Referenced by CheckRpc(). |
|
|
|
Definition at line 227 of file config.h. Referenced by GetProcessingTime(), and InitBaseStats(). |
|
Definition at line 169 of file config.h. Referenced by OpenLogFile(), and OpenSessionFile(). |
|
Definition at line 168 of file config.h. Referenced by OpenLogFile(), and OpenSessionFile(). |
|
Definition at line 167 of file config.h. Referenced by OpenLogFile(), and OpenSessionFile(). |
|
Definition at line 166 of file config.h. Referenced by CheckLogDir(), and CreatePidFile(). |
|
Definition at line 170 of file config.h. Referenced by OpenLogFile(), and OpenSessionFile(). |
|
Definition at line 155 of file config.h. Referenced by Restart(), SetChroot(), and SnortMain(). |
|
|
|
Definition at line 154 of file config.h. Referenced by CleanExit(), and SnortMain(). |
|
Definition at line 156 of file config.h. Referenced by SigUsrHandler(), and SnortMain(). |
|
|
|
|
|
Definition at line 177 of file config.h. Referenced by AlertCSVParseArgs(), ByteJumpParse(), DatabaseInit(), FlowBitsParse(), op_aton(), ParseARPspoofArgs(), ParseConvArgs(), ParseDatabaseArgs(), ParseFrag2Args(), ParseIpOptionData(), ParseSession(), ParseStream4Args(), ParseTag(), RealAlertCSV(), and Stream4InitReassembler(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 179 of file config.h. Referenced by ErrorMessage(), FatalError(), flow_errormsg(), flow_fatalerror(), flow_printf(), LogMessage(), sfsnprintfappend(), snprintf(), and vsyslog(). |
|
Definition at line 161 of file config.h. Referenced by CheckLogDir(), CreatePidFile(), and OpenAlertSock(). |
|
Definition at line 23 of file config.h. Referenced by LogBasePerfStats(). |
|
|
|
|
|
|
|
|
|
Definition at line 67 of file misc.c. Referenced by ParseCmdLine(). |
|
Definition at line 38 of file misc.c. Referenced by CleanExit(), GetCurrentTimestamp(), GetProcessingTime(), InitBaseStats(), InterfaceThread(), rand_open(), Scan2Init(), Stream4InitReassembler(), TagAlloc(), and ts_print(). |
|
Definition at line 13 of file inet_aton.c. References NULL. |
|
Definition at line 268 of file misc.c. References FatalError(). Referenced by SnortMain(). |
|
Definition at line 126 of file misc.c. References NULL. |
|
Definition at line 154 of file misc.c. References DWORD. Referenced by ParseCmdLine(). |
|
Definition at line 45 of file strtok_r.c. References NULL. |