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, Sep 13, 1:41 PM
Unknown Object (File)
Tue, Sep 8, 4:50 AM
Unknown Object (File)
Sun, Sep 6, 8:10 PM
Unknown Object (File)
Sun, Sep 6, 5:56 PM
Unknown Object (File)
Sun, Sep 6, 5:07 AM
Unknown Object (File)
Sun, Sep 6, 12:30 AM
Unknown Object (File)
Sat, Sep 5, 4:20 PM
Unknown Object (File)
Sat, Sep 5, 11:42 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