mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Move everything in util.h to zeek::util namespace.
This commit includes renaming a number of methods prefixed with bro_ to be prefixed with zeek_.
This commit is contained in:
parent
8862b585fa
commit
8d2d867a65
179 changed files with 1277 additions and 1033 deletions
|
@ -43,13 +43,13 @@ PID {PIDCOMPONENT}(::{PIDCOMPONENT})*
|
|||
}
|
||||
|
||||
{IP6} {
|
||||
rules_lval.prefixval = new zeek::IPPrefix(zeek::IPAddr(extract_ip(yytext)), 128, true);
|
||||
rules_lval.prefixval = new zeek::IPPrefix(zeek::IPAddr(zeek::util::extract_ip(yytext)), 128, true);
|
||||
return TOK_IP6;
|
||||
}
|
||||
|
||||
{IP6}{OWS}"/"{OWS}{D} {
|
||||
int len = 0;
|
||||
std::string ip = extract_ip_and_len(yytext, &len);
|
||||
std::string ip = zeek::util::extract_ip_and_len(yytext, &len);
|
||||
rules_lval.prefixval = new zeek::IPPrefix(zeek::IPAddr(ip), len, true);
|
||||
return TOK_IP6;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue