Skip to main content

Crate netgauze_udp_notif_service

Crate netgauze_udp_notif_service 

Source
Expand description

UDP-Notif service primitives and wiring helpers.

This crate provides the top-level types and helpers needed to build UDP-Notif processing services: channel types, subscription identifiers, and socket setup utilities. Actor-based processing and supervision are exposed via the actor and supervisor modules.

See the examples directory for end-to-end wiring of listeners and subscriber pipelines.

Modules§

actor
UdpNotif Actor Module
supervisor
UdpNotif Supervisor Module

Structs§

Subscription
UdpNotifRequest
The UDP-Notif packet and the peer SocketAddr that sent it.

Constants§

OTL_UDP_NOTIF_PUBLISHER_ID_KEY

Functions§

create_udp_notif_channel
Wrapper function to create a channel to exchange UdpNotifRequest
new_udp_reuse_port
Enable socket reuse and bind to a device or a VRF on selected platforms. Binding to a device or VRF is supported on: MacOS and Linux. Unused variables is enabled to silence the Clippy error for platforms that doesn’t support binding to an interface.

Type Aliases§

ActorId
SubscriberId
Type alias to that YANG Push subscription ID as defined in RFC8641
UdpNotifReceiver
UdpNotifSender