Module: Bro
- Includes:
- Broccoli
- Defined in:
- lib/bro.rb,
lib/Bro/event.rb,
lib/Bro/record.rb,
lib/Bro/connection.rb
Defined Under Namespace
Classes: Connection, Event, Record
Constant Summary
collapse
- TYPES =
not really sure how this should be handled.
{:unknown => BRO_TYPE_UNKNOWN,
:bool => BRO_TYPE_BOOL,
:int => BRO_TYPE_INT,
:count => BRO_TYPE_COUNT,
:counter => BRO_TYPE_COUNTER,
:double => BRO_TYPE_DOUBLE,
:time => BRO_TYPE_TIME,
:interval => BRO_TYPE_INTERVAL,
:string => BRO_TYPE_STRING,
:enum => BRO_TYPE_ENUM,
:timer => BRO_TYPE_TIMER,
:port => BRO_TYPE_PORT,
:addr => BRO_TYPE_IPADDR,
:net => BRO_TYPE_NET,
:subnet => BRO_TYPE_SUBNET,
:record => BRO_TYPE_RECORD,
:packet => BRO_TYPE_PACKET,
:max => BRO_TYPE_MAX,
:pattern => BRO_TYPE_PATTERN,
:any => BRO_TYPE_ANY,
:table => BRO_TYPE_TABLE,
:union => BRO_TYPE_UNION,
:list => BRO_TYPE_LIST,
:func => BRO_TYPE_FUNC,
:file => BRO_TYPE_FILE,
:vector => BRO_TYPE_VECTOR,
:error => BRO_TYPE_ERROR
}
Class Method Summary
collapse
Class Method Details
.current_time ⇒ Object
46
47
48
|
# File 'lib/bro.rb', line 46
def Bro.current_time
Time.at( current_time_f() )
end
|
.current_time_f ⇒ Object
42
43
44
|
# File 'lib/bro.rb', line 42
def Bro.current_time_f
Broccoli::bro_util_current_time
end
|
.debug_calltrace=(v) ⇒ Object
50
51
52
|
# File 'lib/bro.rb', line 50
def Bro.debug_calltrace=(v)
Broccoli::bro_debug_calltrace=v
end
|
.debug_messages=(v) ⇒ Object
54
55
56
|
# File 'lib/bro.rb', line 54
def Bro.debug_messages=(v)
Broccoli::bro_debug_messages=v
end
|