mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00

- Removes entire FindSoonest method that includes all of the calls to select() for checking for ready sources - Removes FD_Set checking against IOSources - Adds system for registering and unregistering file descriptors from IOSources. This allows individual sources to mark themselves as ready to be checked by the loop as they become available. - Adds entirely new loop architecture based on checking the IOSources for when their next timeout is, and then waiting for either that timeout or when the next source is ready. This also implements the polling based on what the OS supports, instead of just calling select() on all platforms. Currently it supports kqueue, epoll, and plain poll. - Adds system for pinging the loop to force it to wake up
21 lines
391 B
CMake
21 lines
391 B
CMake
|
|
include(ZeekSubdir)
|
|
|
|
include_directories(BEFORE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
|
|
add_subdirectory(pcap)
|
|
|
|
set(iosource_SRCS
|
|
BPF_Program.cc
|
|
Component.cc
|
|
Manager.cc
|
|
Packet.cc
|
|
PktDumper.cc
|
|
PktSrc.cc
|
|
)
|
|
|
|
bro_add_subdir_library(iosource ${iosource_SRCS})
|
|
add_dependencies(bro_iosource generate_outputs)
|