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
F122477885: D38979.id118575.diff
Sat, Jul 5, 3:46 PM
F122471016: D38979.diff
Sat, Jul 5, 2:31 PM
Unknown Object (File)
Fri, Jul 4, 3:30 PM
Unknown Object (File)
Thu, Jul 3, 12:01 AM
Unknown Object (File)
Sun, Jun 29, 6:16 PM
Unknown Object (File)
Sat, Jun 28, 11:26 PM
Unknown Object (File)
Fri, Jun 27, 8:00 PM
Unknown Object (File)
Tue, Jun 24, 7:19 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 Passed
Unit
No Test Coverage
Build Status
Buildable 50226
Build 47118: arc lint + arc unit