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
F147501483: D48311.id148746.diff
Wed, Mar 11, 11:43 AM
F147486833: D48311.id.diff
Wed, Mar 11, 9:13 AM
F147470468: D48311.id.diff
Wed, Mar 11, 6:36 AM
Unknown Object (File)
Mon, Mar 9, 1:57 PM
Unknown Object (File)
Jan 15 2026, 2:02 AM
Unknown Object (File)
Jan 14 2026, 10:30 AM
Unknown Object (File)
Jan 12 2026, 9:11 PM
Unknown Object (File)
Jan 10 2026, 9:23 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