Page MenuHomeFreeBSD

netlink: provide snl(3) API for variable length raw data attribute
ClosedPublic

Authored by glebius on Jan 3 2025, 6:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 6:15 PM
Unknown Object (File)
Sat, Sep 5, 10:21 PM
Unknown Object (File)
Sat, Sep 5, 8:49 PM
Unknown Object (File)
Wed, Sep 2, 6:37 PM
Unknown Object (File)
Tue, Sep 1, 10:29 PM
Unknown Object (File)
Tue, Sep 1, 5:08 PM
Unknown Object (File)
Mon, Aug 31, 2:06 PM
Unknown Object (File)
Fri, Aug 21, 5:29 PM
Subscribers

Details

Summary

Rename supposedly internal _snl_reserve_msg_attr() into an official
snl_reserve_msg_attr_raw(), that would return pointer to a struct
nlattr followed by allocated memory. Adjust the snl_reserve_msg_attr()
macro to work on top of that function.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable