Skip to main content

Module discovery

Module discovery 

Source
Expand description

UDP discovery fallback for mixed LAN environments.

This module provides a lightweight broadcast path that can coexist with raw L2 discovery. Frames retain the same binary payload format.

Structs§

DiscoveryDropCounters
DiscoveryServeStats
UdpDiscoveryConfig
UDP fallback configuration for discovery broadcast and reply collection.

Constants§

DEFAULT_DISCOVERY_PORT
Default UDP discovery port.

Functions§

broadcast_and_collect
Broadcast a discovery frame over UDP and collect any valid replies with their source addresses.
respond_once
Listen for one discovery request and reply with local node resources.
serve_discovery
Serve discovery requests and respond with local node resources.
serve_discovery_with_stats