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

tag.h File Reference

#include "rules.h"
#include "event.h"
#include "decode.h"

Go to the source code of this file.

Functions

void InitTag ()
void ParseTag (char *, OptTreeNode *)
int CheckTagList (Packet *, Event *)
void SetTags (Packet *, OptTreeNode *, u_int32_t)


Function Documentation

int CheckTagList Packet ,
Event
 

Definition at line 456 of file tag.c.

References _TagNode::bytes, DEBUG_FLOW, DEBUG_WRAP, _TagNode::dip, _Packet::dp, _TagNode::dp, _TagNode::event_id, _TagNode::event_time, GENERATOR_TAG, host_tag_cache_ptr, int(), _IPHdr::ip_dst, _IPHdr::ip_len, _IPHdr::ip_src, _Packet::iph, _TagNode::last_access, last_prune_time, _TagNode::metric, NULL, _TagNode::packets, _Packet::pkth, PruneTagCache(), _Event::ref_time, _TagNode::seconds, SetEvent(), _TagNode::sip, _Packet::sp, _TagNode::sp, ssn_tag_cache_ptr, TAG_LOG_PKT, tag_memory_usage, TAG_METRIC_BYTES, TAG_METRIC_PACKETS, TAG_METRIC_SECONDS, TAG_PRUNE_QUANTUM, pcap_pkthdr::ts, ubi_sptFind(), ubi_sptRemove(), ubi_trCount, and ubi_trRootPtr.

Referenced by CheckTagging().

void InitTag  ) 
 

Definition at line 307 of file tag.c.

References host_tag_cache_ptr, ssn_tag_cache_ptr, TagCompareHost(), TagCompareSession(), and ubi_trInitTree.

Referenced by SnortMain().

void ParseTag char *  ,
OptTreeNode
 

Definition at line 736 of file tag.c.

References DEBUG_FLOW, DEBUG_PLUGIN, DEBUG_RULES, DEBUG_WRAP, FatalError(), file_line, file_name, NULL, strncasecmp, _OptTreeNode::tag, _TagData::tag_bytes, _TagData::tag_direction, TAG_HOST, TAG_HOST_DST, TAG_HOST_SRC, _TagData::tag_metric, TAG_METRIC_BYTES, TAG_METRIC_PACKETS, TAG_METRIC_SECONDS, _TagData::tag_packets, _TagData::tag_seconds, TAG_SESSION, and _TagData::tag_type.

Referenced by ParseRuleOptions().

void SetTags Packet ,
OptTreeNode ,
u_int32_t 
 


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