#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <netdb.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "util.h"
#include "mstring.h"
#include "parser.h"
#include "debug.h"
#include "IpAddrSet.h"
Go to the source code of this file.
Functions | |
IpAddrSet * | IpAddrSetCreate () |
void | IpAddrSetDestroy (IpAddrSet *ipAddrSet) |
void | IpAddrSetPrint (char *prefix, IpAddrSet *ipAddrSet) |
IpAddrSet * | IpAddrSetCopy (IpAddrSet *ipAddrSet) |
int | ParseIP (char *paddr, IpAddrSet *address_data) |
IpAddrSet * | IpAddrSetParse (char *addr) |
int | IpAddrSetContains (IpAddrSet *ias, struct in_addr test_addr) |
Variables | |
static char | buffer [1024] |
|
Definition at line 438 of file IpAddrSet.c. References _IpAddrSet::addr_flags, EXCEPT_IP, index, _IpAddrSet::ip_addr, _IpAddrSet::netmask, _IpAddrSet::next, and NULL. Referenced by Frag3Defrag(). |
|
Definition at line 101 of file IpAddrSet.c. References _IpAddrSet::addr_flags, _IpAddrSet::ip_addr, IpAddrSetDestroy(), _IpAddrSet::netmask, _IpAddrSet::next, and NULL. |
|
Definition at line 54 of file IpAddrSet.c. References SnortAlloc(). |
|
Definition at line 64 of file IpAddrSet.c. References VarEntry::next, and _IpAddrSet::next. Referenced by IpAddrSetCopy(). |
|
Definition at line 342 of file IpAddrSet.c. References DEBUG_CONFIGRULES, DEBUG_WRAP, EXCEPT_IP, FatalError(), file_line, file_name, index, mSplit(), mSplitFree(), _IpAddrSet::next, NULL, ParseIP(), SnortAlloc(), and VarGet(). Referenced by Frag3ParseArgs(). |
|
Definition at line 78 of file IpAddrSet.c. References _IpAddrSet::addr_flags, buffer, EXCEPT_IP, _IpAddrSet::ip_addr, LogMessage(), _IpAddrSet::netmask, _IpAddrSet::next, and snprintf. Referenced by Frag3PrintEngineConfig(). |
|
Definition at line 152 of file IpAddrSet.c. References _IpAddrSet::addr_flags, bcopy, EXCEPT_IP, FatalError(), file_line, file_name, _IpAddrSet::ip_addr, mSplit(), mSplitFree(), _IpAddrSet::netmask, netmasks, and strcasecmp. Referenced by IpAddrSetParse(), PortscanIgnoreParseIP(), PortscanParseIP(), ProcessIP(), and ScanParseIp(). |
|
Definition at line 76 of file IpAddrSet.c. Referenced by CSVEscape(), FindCodePage(), IpAddrSetPrint(), MapCodePoints(), print_thd_node(), and ProcessFileOption(). |