Classes | |
| struct | ConnEvent |
| class | EBPFMon |
Enumerations | |
| enum | EventKind : uint8_t { EVT_TP_SET_STATE = 0 , EVT_TCP_CONNECT = 1 , EVT_UDP_SENDMSG = 2 } |
Functions | |
| bsc::model::Connection | event_to_connection (const ConnEvent &ev) |
| enum bsc::ebpf::EventKind : uint8_t |
| Enumerator | |
|---|---|
| EVT_TP_SET_STATE | |
| EVT_TCP_CONNECT | |
| EVT_UDP_SENDMSG | |
Definition at line 45 of file EBPFMon.hpp.
| bsc::model::Connection bsc::ebpf::event_to_connection | ( | const ConnEvent & | ev | ) |
Definition at line 34 of file EBPFMon.cpp.
References AF_INET, AF_INET6, bsc::ebpf::ConnEvent::comm, bsc::ebpf::ConnEvent::dst_addr, bsc::model::Connection::dst_ip, bsc::ebpf::ConnEvent::dst_port, bsc::model::Connection::dst_port, event_to_connection(), bsc::ebpf::ConnEvent::family, bsc::ebpf::ConnEvent::pid, bsc::model::Connection::process_comm, bsc::model::Connection::process_id, bsc::ebpf::ConnEvent::proto, bsc::model::Connection::protocol, bsc::model::Connection::seen_at, bsc::ebpf::ConnEvent::src_addr, bsc::model::Connection::src_ip, bsc::ebpf::ConnEvent::src_port, bsc::model::Connection::src_port, bsc::ebpf::ConnEvent::uid, and bsc::model::Connection::user_id.
Referenced by event_to_connection().