Crate netlink

source ·
Expand description

An implementation of Linux’s Netlink API for Fuchsia.

Netlink is a socket-based API provided by Linux that user space applications can use to interact with the kernel. The API is split up into several protocol families each offering different functionality. This crate targets the implementation of families related to networking.


  • A module for managing RTM_LINK and RTM_ADDR information by generating RTM_LINK and RTM_ADDR Netlink messages based on events received from Netstack’s interface watcher.
  • A module for managing message passing between Netlink and its clients.
  • A module for managing Netlink multicast group memberships.
  • A module for managing protocol-specific aspects of Netlink.


  • The implementation of the Netlink protocol suite.


  • The possible error types when instantiating a new client.