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
F153278891: D38979.diff
Mon, Apr 20, 5:20 AM
Unknown Object (File)
Thu, Apr 16, 10:18 AM
Unknown Object (File)
Wed, Apr 15, 1:05 PM
Unknown Object (File)
Wed, Apr 15, 8:55 AM
Unknown Object (File)
Sat, Apr 11, 1:57 AM
Unknown Object (File)
Tue, Apr 7, 9:41 AM
Unknown Object (File)
Sat, Apr 4, 2:22 PM
Unknown Object (File)
Sun, Mar 29, 6:33 AM
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