Page MenuHomeFreeBSD

netlink: add snl(3) default parsers for routes and links.
ClosedPublic

Authored by melifaro on Mar 8 2023, 10:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 19 2025, 10:48 PM
Unknown Object (File)
Feb 9 2025, 7:32 AM
Unknown Object (File)
Feb 8 2025, 5:55 AM
Unknown Object (File)
Nov 28 2024, 2:58 PM
Unknown Object (File)
Nov 17 2024, 4:19 PM
Unknown Object (File)
Oct 8 2024, 8:57 AM
Unknown Object (File)
Oct 3 2024, 4:49 PM
Unknown Object (File)
Sep 29 2024, 9:28 PM
Subscribers

Details

Summary

This change adds the "default" parsers of _all_ route/link attributes exported by the kernel.

It removes the need to declare similar parsers in the userland applications, simplifying their logic.

Eventually the attribute/header metadata should be exported via the special netlink family. This will allow to generate abstract definitions (similar to .protoc / .thrift) and generate language-specific bindings.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable