mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Add Teredo packet analyzer, disable old analyzer
This commit is contained in:
parent
05574ecce1
commit
dc0ecf9811
25 changed files with 683 additions and 91 deletions
4
src/RE.h
4
src/RE.h
|
@ -109,6 +109,7 @@ public:
|
|||
// in an attempt to match at least one character.
|
||||
int Match(const char* s);
|
||||
int Match(const String* s);
|
||||
int Match(const u_char* bv, int n);
|
||||
|
||||
int LongestMatch(const char* s);
|
||||
int LongestMatch(const String* s);
|
||||
|
@ -136,7 +137,6 @@ protected:
|
|||
void AddPat(const char* pat, const char* orig_fmt, const char* app_fmt);
|
||||
|
||||
bool MatchAll(const u_char* bv, int n);
|
||||
int Match(const u_char* bv, int n);
|
||||
|
||||
match_type mt;
|
||||
int multiline;
|
||||
|
@ -228,6 +228,8 @@ public:
|
|||
int MatchPrefix(const String* s) { return re_exact->LongestMatch(s); }
|
||||
int MatchPrefix(const u_char* s, int n) { return re_exact->LongestMatch(s, n); }
|
||||
|
||||
bool Match(const u_char* s, int n) { return re_anywhere->Match(s, n); }
|
||||
|
||||
const char* PatternText() const { return re_exact->PatternText(); }
|
||||
const char* AnywherePatternText() const { return re_anywhere->PatternText(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue