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)
Sun, Feb 8, 2:10 AM
Unknown Object (File)
Sat, Jan 31, 3:27 PM
Unknown Object (File)
Fri, Jan 30, 9:08 PM
Unknown Object (File)
Sat, Jan 24, 10:36 PM
Unknown Object (File)
Jan 5 2026, 2:26 AM
Unknown Object (File)
Dec 4 2025, 10:09 PM
Unknown Object (File)
Nov 14 2025, 1:59 AM
Unknown Object (File)
Nov 13 2025, 8:04 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