|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
#include <fastmm/net/kernel_datagram_source.hpp>
Public Attributes | |
| std::vector< DatagramSubscription > | subscriptions |
| line = index, at most 256 | |
| int | rcvbuf_bytes = 0 |
| 0 keeps the system default | |
| std::uint32_t | batch = 32 |
| datagrams per recvmmsg, 1..1024 | |
| std::uint32_t | max_datagram = 2048 |
| larger datagrams are dropped (truncated) | |
| bool | timestamps = true |
| SO_TIMESTAMPING. | |
| bool | busy_poll = false |
| SO_BUSY_POLL / SO_PREFER_BUSY_POLL / SO_BUSY_POLL_BUDGET on every socket. | |
| int | busy_poll_usec = 50 |
| int | busy_poll_budget = 0 |
| 0 keeps the kernel default (8) | |
| std::vector<DatagramSubscription> fastmm::net::KernelSourceConfig::subscriptions |
line = index, at most 256
| int fastmm::net::KernelSourceConfig::rcvbuf_bytes = 0 |
0 keeps the system default
| std::uint32_t fastmm::net::KernelSourceConfig::batch = 32 |
datagrams per recvmmsg, 1..1024
| std::uint32_t fastmm::net::KernelSourceConfig::max_datagram = 2048 |
larger datagrams are dropped (truncated)
| bool fastmm::net::KernelSourceConfig::timestamps = true |
SO_TIMESTAMPING.
| bool fastmm::net::KernelSourceConfig::busy_poll = false |
SO_BUSY_POLL / SO_PREFER_BUSY_POLL / SO_BUSY_POLL_BUDGET on every socket.
Failures do not fail open(); they are reported in KernelSourceOpen.
| int fastmm::net::KernelSourceConfig::busy_poll_usec = 50 |
| int fastmm::net::KernelSourceConfig::busy_poll_budget = 0 |
0 keeps the kernel default (8)