-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 54808a3
Showing
300 changed files
with
78,859 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
window.ALL_CRATES = ["retina_core","retina_filtergen"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="./static.files/rustdoc-c5d6553a23f1e5a6.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="retina_filtergen" data-themes="" data-resource-suffix="" data-rustdoc-version="1.81.0 (eeb90cda1 2024-09-04)" data-channel="1.81.0" data-search-js="search-d234aafac6c221dd.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="./static.files/storage-118b08c4c78b968e.js"></script><script defer src="./static.files/main-d2fab2bf619172d3.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.81.0</span></h2></div><div class="version">(eeb90cda1 2024-09-04)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-c5d6553a23f1e5a6.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="retina_core" data-themes="" data-resource-suffix="" data-rustdoc-version="1.81.0 (eeb90cda1 2024-09-04)" data-channel="1.81.0" data-search-js="search-d234aafac6c221dd.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../static.files/main-d2fab2bf619172d3.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../retina_core/index.html">retina_core</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.ConnId.html">ConnId</a></li><li><a href="struct.FiveTuple.html">FiveTuple</a></li><li><a href="struct.Mbuf.html">Mbuf</a></li><li><a href="struct.Runtime.html">Runtime</a></li><li><a href="config/struct.ConnTrackConfig.html">config::ConnTrackConfig</a></li><li><a href="config/struct.DisplayConfig.html">config::DisplayConfig</a></li><li><a href="config/struct.LogConfig.html">config::LogConfig</a></li><li><a href="config/struct.MempoolConfig.html">config::MempoolConfig</a></li><li><a href="config/struct.MonitorConfig.html">config::MonitorConfig</a></li><li><a href="config/struct.OfflineConfig.html">config::OfflineConfig</a></li><li><a href="config/struct.OnlineConfig.html">config::OnlineConfig</a></li><li><a href="config/struct.PortMap.html">config::PortMap</a></li><li><a href="config/struct.RuntimeConfig.html">config::RuntimeConfig</a></li><li><a href="config/struct.SinkConfig.html">config::SinkConfig</a></li><li><a href="protocols/packet/ethernet/struct.Ethernet.html">protocols::packet::ethernet::Ethernet</a></li><li><a href="protocols/packet/ipv4/struct.Ipv4.html">protocols::packet::ipv4::Ipv4</a></li><li><a href="protocols/packet/ipv6/struct.Ipv6.html">protocols::packet::ipv6::Ipv6</a></li><li><a href="protocols/packet/tcp/struct.Tcp.html">protocols::packet::tcp::Tcp</a></li><li><a href="protocols/packet/udp/struct.Udp.html">protocols::packet::udp::Udp</a></li><li><a href="protocols/stream/dns/struct.Dns.html">protocols::stream::dns::Dns</a></li><li><a href="protocols/stream/dns/struct.DnsQuery.html">protocols::stream::dns::DnsQuery</a></li><li><a href="protocols/stream/dns/struct.DnsRecord.html">protocols::stream::dns::DnsRecord</a></li><li><a href="protocols/stream/dns/struct.DnsResponse.html">protocols::stream::dns::DnsResponse</a></li><li><a href="protocols/stream/dns/struct.Mx.html">protocols::stream::dns::Mx</a></li><li><a href="protocols/stream/dns/struct.Soa.html">protocols::stream::dns::Soa</a></li><li><a href="protocols/stream/dns/struct.Srv.html">protocols::stream::dns::Srv</a></li><li><a href="protocols/stream/http/struct.Http.html">protocols::stream::http::Http</a></li><li><a href="protocols/stream/http/struct.HttpRequest.html">protocols::stream::http::HttpRequest</a></li><li><a href="protocols/stream/http/struct.HttpResponse.html">protocols::stream::http::HttpResponse</a></li><li><a href="protocols/stream/quic/struct.QuicConn.html">protocols::stream::quic::QuicConn</a></li><li><a href="protocols/stream/quic/struct.QuicLongHeader.html">protocols::stream::quic::QuicLongHeader</a></li><li><a href="protocols/stream/quic/struct.QuicPacket.html">protocols::stream::quic::QuicPacket</a></li><li><a href="protocols/stream/quic/struct.QuicShortHeader.html">protocols::stream::quic::QuicShortHeader</a></li><li><a href="protocols/stream/tls/struct.Certificate.html">protocols::stream::tls::Certificate</a></li><li><a href="protocols/stream/tls/struct.ClientDHParams.html">protocols::stream::tls::ClientDHParams</a></li><li><a href="protocols/stream/tls/struct.ClientECDHParams.html">protocols::stream::tls::ClientECDHParams</a></li><li><a href="protocols/stream/tls/struct.ClientHello.html">protocols::stream::tls::ClientHello</a></li><li><a href="protocols/stream/tls/struct.ClientRSAParams.html">protocols::stream::tls::ClientRSAParams</a></li><li><a href="protocols/stream/tls/struct.KeyShareEntry.html">protocols::stream::tls::KeyShareEntry</a></li><li><a href="protocols/stream/tls/struct.ServerDHParams.html">protocols::stream::tls::ServerDHParams</a></li><li><a href="protocols/stream/tls/struct.ServerECDHParams.html">protocols::stream::tls::ServerECDHParams</a></li><li><a href="protocols/stream/tls/struct.ServerHello.html">protocols::stream::tls::ServerHello</a></li><li><a href="protocols/stream/tls/struct.ServerRSAParams.html">protocols::stream::tls::ServerRSAParams</a></li><li><a href="protocols/stream/tls/struct.Tls.html">protocols::stream::tls::Tls</a></li><li><a href="subscription/connection/struct.Chunk.html">subscription::connection::Chunk</a></li><li><a href="subscription/connection/struct.Connection.html">subscription::connection::Connection</a></li><li><a href="subscription/connection/struct.Flow.html">subscription::connection::Flow</a></li><li><a href="subscription/connection_frame/struct.ConnectionFrame.html">subscription::connection_frame::ConnectionFrame</a></li><li><a href="subscription/dns_transaction/struct.DnsTransaction.html">subscription::dns_transaction::DnsTransaction</a></li><li><a href="subscription/frame/struct.Frame.html">subscription::frame::Frame</a></li><li><a href="subscription/http_transaction/struct.HttpTransaction.html">subscription::http_transaction::HttpTransaction</a></li><li><a href="subscription/quic_stream/struct.QuicStream.html">subscription::quic_stream::QuicStream</a></li><li><a href="subscription/tls_handshake/struct.TlsHandshake.html">subscription::tls_handshake::TlsHandshake</a></li><li><a href="utils/types/struct.u128be.html">utils::types::u128be</a></li><li><a href="utils/types/struct.u16be.html">utils::types::u16be</a></li><li><a href="utils/types/struct.u32be.html">utils::types::u32be</a></li><li><a href="utils/types/struct.u64be.html">utils::types::u64be</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="protocols/stream/dns/enum.Data.html">protocols::stream::dns::Data</a></li><li><a href="protocols/stream/quic/enum.QuicError.html">protocols::stream::quic::QuicError</a></li><li><a href="protocols/stream/tls/enum.ClientKeyExchange.html">protocols::stream::tls::ClientKeyExchange</a></li><li><a href="protocols/stream/tls/enum.ServerKeyExchange.html">protocols::stream::tls::ServerKeyExchange</a></li><li><a href="subscription/enum.Level.html">subscription::Level</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="protocols/packet/trait.Packet.html">protocols::packet::Packet</a></li><li><a href="protocols/packet/trait.PacketHeader.html">protocols::packet::PacketHeader</a></li><li><a href="subscription/trait.Subscribable.html">subscription::Subscribable</a></li><li><a href="subscription/trait.Trackable.html">subscription::Trackable</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="config/fn.default_config.html">config::default_config</a></li><li><a href="config/fn.load_config.html">config::load_config</a></li><li><a href="fn.rte_lcore_id.html">rte_lcore_id</a></li><li><a href="fn.rte_rdtsc.html">rte_rdtsc</a></li><li><a href="utils/base64/fn.deserialize.html">utils::base64::deserialize</a></li><li><a href="utils/base64/fn.serialize.html">utils::base64::serialize</a></li></ul><h3 id="types">Type Aliases</h3><ul class="all-items"><li><a href="subscription/zc_frame/type.ZcFrame.html">subscription::zc_frame::ZcFrame</a></li></ul><h3 id="constants">Constants</h3><ul class="all-items"><li><a href="protocols/packet/tcp/constant.TCP_PROTOCOL.html">protocols::packet::tcp::TCP_PROTOCOL</a></li><li><a href="protocols/packet/udp/constant.UDP_PROTOCOL.html">protocols::packet::udp::UDP_PROTOCOL</a></li></ul></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Loads a default configuration file."><title>default_config in retina_core::config - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-c5d6553a23f1e5a6.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="retina_core" data-themes="" data-resource-suffix="" data-rustdoc-version="1.81.0 (eeb90cda1 2024-09-04)" data-channel="1.81.0" data-search-js="search-d234aafac6c221dd.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-d2fab2bf619172d3.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../retina_core/index.html">retina_core</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In retina_core::config</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">retina_core</a>::<wbr><a href="index.html">config</a>::<wbr><a class="fn" href="#">default_config</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/retina_core/config.rs.html#52-54">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn default_config() -> <a class="struct" href="struct.RuntimeConfig.html" title="struct retina_core::config::RuntimeConfig">RuntimeConfig</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Loads a default configuration file.</p> | ||
<p>For demonstration purposes only, not configured for performance. The default configuration | ||
assumes Retina is being run from the crate root in offline mode:</p> | ||
<div class="example-wrap"><pre class="language-toml"><code>main_core = 0 | ||
|
||
[mempool] | ||
capacity = 8192 | ||
|
||
[offline] | ||
pcap = "./traces/small_flows.pcap" | ||
mtu = 9702 | ||
|
||
[conntrack] | ||
max_connections = 100_000 | ||
</code></pre></div></div></details></section></div></main></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Loads a configuration file from `path`."><title>load_config in retina_core::config - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-c5d6553a23f1e5a6.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="retina_core" data-themes="" data-resource-suffix="" data-rustdoc-version="1.81.0 (eeb90cda1 2024-09-04)" data-channel="1.81.0" data-search-js="search-d234aafac6c221dd.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-d2fab2bf619172d3.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../retina_core/index.html">retina_core</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In retina_core::config</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">retina_core</a>::<wbr><a href="index.html">config</a>::<wbr><a class="fn" href="#">load_config</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/retina_core/config.rs.html#20-33">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn load_config<P: <a class="trait" href="https://doc.rust-lang.org/1.81.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="https://doc.rust-lang.org/1.81.0/std/path/struct.Path.html" title="struct std::path::Path">Path</a>>>(path: P) -> <a class="struct" href="struct.RuntimeConfig.html" title="struct retina_core::config::RuntimeConfig">RuntimeConfig</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Loads a configuration file from <code>path</code>.</p> | ||
</div></details></section></div></main></body></html> |
Oops, something went wrong.