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, May 14, 12:34 PM
Unknown Object (File)
Thu, May 14, 12:34 PM
Unknown Object (File)
Thu, May 14, 3:34 AM
Unknown Object (File)
Wed, May 13, 11:19 PM
Unknown Object (File)
Mon, May 11, 7:33 AM
Unknown Object (File)
Sun, May 3, 5:36 PM
Unknown Object (File)
Apr 28 2026, 5:58 AM
Unknown Object (File)
Apr 16 2026, 10:59 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