-- -- (C) 2017-20 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?/init.lua;" .. package.path local ntop_info = ntop.getInfo() local os_utils = require "os_utils" local ebpf_utils = {} function ebpf_utils.draw_processes_graph(host_info) print[[
]] end function ebpf_utils.draw_flow_processes_graph(width, height, url) print [[
 Host

Process
]] end function ebpf_utils.draw_ndpi_piecharts(ifstats, url, host_info, username, pid_name) local refresh_rate local have_nedge = ntop.isnEdge() if have_nedge then refresh_rate = 5 else refresh_rate = getInterfaceRefreshRate(ifstats["id"]) end print [[
]] print(i18n("ndpi_page.overview", {what = i18n("protocol")})) print[[
]] print(i18n("ndpi_page.overview", {what = i18n("category")})) print[[
]] end function ebpf_utils.draw_flows_datatable(ifstats, host_info, username, pid_name) print [[
]] end return ebpf_utils