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)
May 25 2024, 2:28 PM
Unknown Object (File)
May 22 2024, 3:55 AM
Unknown Object (File)
May 21 2024, 10:44 PM
Unknown Object (File)
Jan 14 2024, 6:52 AM
Unknown Object (File)
Dec 20 2023, 6:49 AM
Unknown Object (File)
Dec 18 2023, 10:01 PM
Unknown Object (File)
Sep 4 2023, 8:49 AM
Unknown Object (File)
Jul 15 2023, 8:29 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