diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-05-10 17:45:56 +0200 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-05-20 08:17:06 +0200 |
| commit | 9c10cd5c8db84e9b3fa6ca559cd2bce7a4235809 (patch) | |
| tree | 869f402fdc03d85ceab26416a3eba6226b610e4c /src/ipcpd/unicast/addr-auth | |
| parent | 46fa893af9ed74e2a473354c1777bd494b3374db (diff) | |
| download | ouroboros-9c10cd5c8db84e9b3fa6ca559cd2bce7a4235809.tar.gz ouroboros-9c10cd5c8db84e9b3fa6ca559cd2bce7a4235809.zip | |
ipcpd-eth: Tune raw sockets and retry queries
Add IPCP_ETH_SNDBUF/RCVBUF cmake build options so deployments can size
the AF_PACKET socket buffers without patching code. Drop the
O_NONBLOCK fcntl on the raw socket in favour of per-recvfrom
MSG_DONTWAIT so race-loser reader threads exit with EAGAIN without
spamming the log.
Track frame send failures and the SO_SNDBUF size in the eth/summary
RIB; log a one-shot warning when the kernel reports AF_PACKET drops.
Retry name queries up to NAME_QUERY_RETRIES times within
NAME_QUERY_TIMEO; a single lost ARP-style mgmt frame no longer fails
the query. Bump IRMd QUERY_TIMEOUT from 200 ms to 2200 ms so the IRMd
budget exceeds the new shim retry window.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/addr-auth')
0 files changed, 0 insertions, 0 deletions
